From e9fe0ebae1d9523364dcf2f9029c2a096dfafc8b Mon Sep 17 00:00:00 2001 From: Monster Iestyn Date: Tue, 13 Nov 2018 18:14:59 +0000 Subject: [PATCH] Fix OpenGL's HUD not being scaled the same way as Software's, by removing an old OpenGL-specific hack for fdupx/fdupy --- src/screen.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/screen.c b/src/screen.c index fdd8eb7b..ada9af7c 100644 --- a/src/screen.c +++ b/src/screen.c @@ -280,7 +280,10 @@ void SCR_Recalc(void) vid.fdupy = FixedDiv(vid.height*FRACUNIT, BASEVIDHEIGHT*FRACUNIT); #ifdef HWRENDER - if (rendermode != render_opengl && rendermode != render_none) // This was just placing it incorrectly at non aspect correct resolutions in opengl + //if (rendermode != render_opengl && rendermode != render_none) // This was just placing it incorrectly at non aspect correct resolutions in opengl + // 13/11/18: + // The above is no longer necessary, since we want OpenGL to be just like software now + // -- Monster Iestyn #endif vid.fdupx = vid.fdupy = (vid.fdupx < vid.fdupy ? vid.fdupx : vid.fdupy);