From bbc78cf5574539d571655a3a3c692de92f4ec5f9 Mon Sep 17 00:00:00 2001 From: NepDisk Date: Wed, 18 Feb 2026 15:05:26 -0500 Subject: [PATCH] Reapply "Use in pixels since this is supposed to be the correct way of doing this" This reverts commit a594bd37bdafb920e088b82e2f88da9e27d58b76. --- src/sdl/ogl_sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdl/ogl_sdl.c b/src/sdl/ogl_sdl.c index 598af528d..bd04e2a02 100644 --- a/src/sdl/ogl_sdl.c +++ b/src/sdl/ogl_sdl.c @@ -182,7 +182,7 @@ void OglSdlFinishUpdate(boolean waitvbl) oldwaitvbl = waitvbl; - SDL_GetWindowSize(window, &sdlw, &sdlh); + SDL_GetWindowSizeInPixels(window, &sdlw, &sdlh); HWR_MakeScreenFinalTexture(); HWR_DrawScreenFinalTexture(sdlw, sdlh);