mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-11 17:05:41 +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
|
||
|---|---|---|
| .. | ||
| SDL_blendfillrect.c | ||
| SDL_blendfillrect.h | ||
| SDL_blendline.c | ||
| SDL_blendline.h | ||
| SDL_blendpoint.c | ||
| SDL_blendpoint.h | ||
| SDL_draw.h | ||
| SDL_drawline.c | ||
| SDL_drawline.h | ||
| SDL_drawpoint.c | ||
| SDL_drawpoint.h | ||
| SDL_render_sw.c | ||
| SDL_render_sw_c.h | ||
| SDL_rotate.c | ||
| SDL_rotate.h | ||
| SDL_triangle.c | ||
| SDL_triangle.h | ||