MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / resize

Method resize

src/RenderEngine.cpp:143–152  ·  view source on GitHub ↗

Update the viewport to the correct size of the container window */

Source from the content-addressed store, hash-verified

141Update the viewport to the correct size of the container window
142*/
143void RenderEngine::resize() {
144 //fix the window size
145 auto size = surface->GetDrawableArea();
146
147 //TOOD: update renderer size
148
149#ifdef __APPLE__
150 //resizeMetalLayer(getNativeWindow(window));
151#endif
152}
153
154/**
155Initialize static singletons. Invoked automatically if needed.

Callers 1

runMethod · 0.45

Calls 1

GetDrawableAreaMethod · 0.80

Tested by

no test coverage detected