| 160 | } |
| 161 | |
| 162 | static void centerWindowOnDisplay(SDL_Window* window, uint32_t displayIndex, int32_t width, int32_t height) |
| 163 | { |
| 164 | const auto pos = getCenteredPositionOnDisplay(displayIndex, width, height); |
| 165 | SDL_SetWindowPosition(window, pos.x, pos.y); |
| 166 | } |
| 167 | |
| 168 | #ifdef _WIN32 |
| 169 | void* hwnd() |
no test coverage detected