| 30 | } |
| 31 | |
| 32 | void WindowEvents::syncFramebufferSize(int width, int height, bool updateInterface) { |
| 33 | if (width <= 0 || height <= 0) { |
| 34 | return; |
| 35 | } |
| 36 | |
| 37 | (*renderer)->camera.setScreenSize(glm::vec2(static_cast<float>(width), static_cast<float>(height))); |
| 38 | WGPUContext::instance().resize(static_cast<uint32_t>(width), static_cast<uint32_t>(height)); |
| 39 | } |
nothing calls this directly
no test coverage detected