Sync SDL3 wiki -> header
This commit is contained in:
1 parent
4f3d4bd110
commit
464a41411e
2 files changed
+2
-2
No files matched your search
@@ -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