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
|
||
|---|---|---|
| .. | ||
| SDL_emscriptenevents.c | ||
| SDL_emscriptenevents.h | ||
| SDL_emscriptenframebuffer.c | ||
| SDL_emscriptenframebuffer.h | ||
| SDL_emscriptenmouse.c | ||
| SDL_emscriptenmouse.h | ||
| SDL_emscriptenopengles.c | ||
| SDL_emscriptenopengles.h | ||
| SDL_emscriptenvideo.c | ||
| SDL_emscriptenvideo.h | ||