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

Method OnResize

deps/LLGL/tests/Test_OpenGL.cpp:98–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96 {
97 }
98 void OnResize(LLGL::Window& sender, const LLGL::Extent2D& clientAreaSize) override
99 {
100 auto videoMode = context_->GetVideoMode();
101 videoMode.resolution = clientAreaSize;
102 context_->SetVideoMode(videoMode);
103 }
104 private:
105 LLGL::RenderContext* context_;
106 };

Callers

nothing calls this directly

Calls 1

SetVideoModeMethod · 0.80

Tested by

no test coverage detected