mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-20 06:21:09 +00:00
Sync SDL3 wiki -> header
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user