Examples, SDL2/SDL3: use SDL_GetWindowSizeInPixels() to create framebuffers. (#8761, #9124)

+ cc #7433
This commit is contained in:
ocornut
2026-06-29 11:49:06 +02:00
parent 76f5be2749
commit c66d9a8190
4 changed files with 8 additions and 6 deletions

View File

@@ -127,7 +127,9 @@ Other Changes:
- Uses `SetProcessDpiAwarenessContext()` instead of `SetThreadDpiAwarenessContext()`
when available, fixing OpenGL DPI scaling issues as e.g. NVIDIA drivers tends
to spawn multiple-thread to manage OpenGL. (#9403)
- Examples:
- SDL2/SDL3: use `SDL_GetWindowSizeInPixels()` to create frame-buffers. Fixes issues
with non-fractional framebuffer size on Wayland. (#8761, #9124) [@billtran1632001]
-----------------------------------------------------------------------
VERSION 1.92.8 (Released 2026-05-12)