From e0494b6f13edb1df52d2057909e0d73d9081e2a1 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Tue, 25 Jul 2017 08:09:01 -0400 Subject: [PATCH] - fixed an issue with previous commit that undid some scaling code --- src/posix/sdl/hardware.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/posix/sdl/hardware.cpp b/src/posix/sdl/hardware.cpp index b46458370..5e7ba4f1e 100644 --- a/src/posix/sdl/hardware.cpp +++ b/src/posix/sdl/hardware.cpp @@ -334,8 +334,8 @@ CUSTOM_CVAR(Bool, swtruecolor, true, CVAR_ARCHIVE|CVAR_GLOBALCONFIG|CVAR_NOINITC CUSTOM_CVAR (Bool, fullscreen, false, CVAR_ARCHIVE|CVAR_GLOBALCONFIG|CVAR_NOINITCALL) { - NewWidth = screen->GetWidth(); - NewHeight = screen->GetHeight(); + NewWidth = screen->VideoWidth; + NewHeight = screen->VideoHeight; NewBits = DisplayBits; setmodeneeded = true; }