From 8b28f97e81156380a1de59576e96608b7768bb67 Mon Sep 17 00:00:00 2001 From: NepDisk Date: Thu, 12 Feb 2026 14:16:37 -0500 Subject: [PATCH] Use in pixels since this is supposed to be the correct way of doing this --- 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);