| 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 | }; |
nothing calls this directly
no test coverage detected