mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-09 16:12:52 +00:00
Sync SDL3 wiki -> header
This commit is contained in:
@@ -191,7 +191,7 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
qtApp.processEvents();
|
qtApp.processEvents();
|
||||||
|
|
||||||
/* Update the backbuffer size if the window scale changed. */
|
/* Update the backbuffer size if the window scale changed. */
|
||||||
qreal scale = qtWindow.devicePixelRatio();
|
qreal scale = qtWindow.devicePixelRatio();
|
||||||
SDL_SetWindowSize(sdlWindow, SDL_lround(640. * scale), SDL_lround(480. * scale));
|
SDL_SetWindowSize(sdlWindow, SDL_lround(640. * scale), SDL_lround(480. * scale));
|
||||||
|
|||||||
@@ -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.
|
* even if the window does not have the OpenGL property or flag set.
|
||||||
* - `SDL_PROPERTY_WINDOW_CREATE_WAYLAND_WL_SURFACE_POINTER` - the wl_surface
|
* - `SDL_PROPERTY_WINDOW_CREATE_WAYLAND_WL_SURFACE_POINTER` - the wl_surface
|
||||||
* associated with the window, if you want to wrap an existing window. See
|
* 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:
|
* These are additional supported properties on Windows:
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user