Sync SDL3 wiki -> header

This commit is contained in:
SDL Wiki Bot
2024-01-15 18:55:24 +00:00
parent 4f3d4bd110
commit 464a41411e
2 changed files with 2 additions and 2 deletions

View File

@@ -191,7 +191,7 @@ int main(int argc, char *argv[])
}
qtApp.processEvents();
/* Update the backbuffer size if the window scale changed. */
qreal scale = qtWindow.devicePixelRatio();
SDL_SetWindowSize(sdlWindow, SDL_lround(640. * scale), SDL_lround(480. * scale));