| 511 | } |
| 512 | |
| 513 | void Window::msgLoop() |
| 514 | { |
| 515 | // Samples often rely on a size change event as part of initialization |
| 516 | // This would have happened from a WM_SIZE message when calling ShowWindow on Win32 |
| 517 | mpCallbacks->handleWindowSizeChange(); |
| 518 | |
| 519 | while (!shouldClose()) |
| 520 | { |
| 521 | pollForEvents(); |
| 522 | mpCallbacks->handleRenderFrame(); |
| 523 | } |
| 524 | } |
| 525 | |
| 526 | void Window::setWindowPos(int32_t x, int32_t y) |
| 527 | { |
no test coverage detected