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));

View File

@@ -893,7 +893,7 @@ extern DECLSPEC SDL_Window *SDLCALL SDL_CreatePopupWindow(SDL_Window *parent, in
* even if the window does not have the OpenGL property or flag set.
* - `SDL_PROPERTY_WINDOW_CREATE_WAYLAND_WL_SURFACE_POINTER` - the wl_surface
* associated with the window, if you want to wrap an existing window. See
* docs/README-wayland.md for more information.
* docs/README-wayland.md for more information.
*
* These are additional supported properties on Windows:
*