mirror of https://github.com/libsdl-org/SDL.git
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
|
||
|---|---|---|
| .. | ||
| direct3d | ||
| direct3d11 | ||
| direct3d12 | ||
| metal | ||
| opengl | ||
| opengles | ||
| opengles2 | ||
| ps2 | ||
| psp | ||
| software | ||
| vitagxm | ||
| SDL_d3dmath.c | ||
| SDL_d3dmath.h | ||
| SDL_render.c | ||
| SDL_sysrender.h | ||
| SDL_yuv_sw.c | ||
| SDL_yuv_sw_c.h | ||