mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-24 06:51:55 +00:00
Fixes DPI awareness of testdrawchessboard (previously, the surface was
being created in points instead of pixels, resulting in the demo app
only drawing in a corner of the screen on High-DPI displays)
*_CreateWindowFramebuffer()/*_UpdateWindowFramebuffer(): are updated
to use SDL_GetWindowSizeInPixels instead of SDL_GetWindowSize() or
window->w/window->h.
Most of the _CreateWindowFramebuffer backends are untested except
for Windows.
Fixes #7047
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| scancodes_riscos.h | ||
| SDL_riscosdefs.h | ||
| SDL_riscosevents.c | ||
| SDL_riscosevents_c.h | ||
| SDL_riscosframebuffer.c | ||
| SDL_riscosframebuffer_c.h | ||
| SDL_riscosmessagebox.c | ||
| SDL_riscosmessagebox.h | ||
| SDL_riscosmodes.c | ||
| SDL_riscosmodes.h | ||
| SDL_riscosmouse.c | ||
| SDL_riscosmouse.h | ||
| SDL_riscosvideo.c | ||
| SDL_riscosvideo.h | ||
| SDL_riscoswindow.c | ||
| SDL_riscoswindow.h | ||