mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-01-10 23:55:43 +00:00
76392f4fe1
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 67c91353e01f6f2c0cc80c17eeddbad6def7cb01) |
||
---|---|---|
.. | ||
SDL_offscreenevents.c | ||
SDL_offscreenevents_c.h | ||
SDL_offscreenframebuffer.c | ||
SDL_offscreenframebuffer_c.h | ||
SDL_offscreenopengles.c | ||
SDL_offscreenopengles.h | ||
SDL_offscreenvideo.c | ||
SDL_offscreenvideo.h | ||
SDL_offscreenwindow.c | ||
SDL_offscreenwindow.h |