High DPI scaling fixes (#1215)

* dpi fixes

* fonts

* more fonts

* resizeable

* more

* more

* more
This commit is contained in:
Logan McNaughton authored and GitHub committed 2026-09-11 13:01:53 +00:00
1 parent 5de5f1179f
commit 0bb9fbba63
3 files changed
+24 -7

No files matched your search

+2 -2
View File
@@ -34,13 +34,13 @@ std::vector<const char *> SDL_WSIPlatform::get_instance_extensions() {
uint32_t SDL_WSIPlatform::get_surface_width() {
int w, h;
SDL_GetWindowSize(window, &w, &h);
SDL_GetWindowSizeInPixels(window, &w, &h);
return w;
}
uint32_t SDL_WSIPlatform::get_surface_height() {
int w, h;
SDL_GetWindowSize(window, &w, &h);
SDL_GetWindowSizeInPixels(window, &w, &h);
return h;
}