diff --git a/src/screen.c b/src/screen.c index 502493886..d24809e1f 100644 --- a/src/screen.c +++ b/src/screen.c @@ -248,11 +248,22 @@ void SCR_Recalc(void) // scale 1,2,3 times in x and y the patches for the menus and overlays... // calculated once and for all, used by routines in v_video.c - vid.dupx = vid.width / BASEVIDWIDTH / 1.2; - vid.dupy = vid.height / BASEVIDHEIGHT / 1.2; - vid.dupx = vid.dupy = (vid.dupx < vid.dupy ? vid.dupx : vid.dupy); - vid.fdupx = FixedDiv(vid.width*FRACUNIT, BASEVIDWIDTH*FRACUNIT) / 1.2; - vid.fdupy = FixedDiv(vid.height*FRACUNIT, BASEVIDHEIGHT*FRACUNIT) / 1.2; + if ((vid.width > 720) && (vid.height > 1280)) // i hate the scaling above 720p making everything comically large + { + vid.dupx = (vid.width / BASEVIDWIDTH) / 1.15; + vid.dupy = (vid.height / BASEVIDHEIGHT) / 1.15; + vid.dupx = vid.dupy = (vid.dupx < vid.dupy ? vid.dupx : vid.dupy); + vid.fdupx = FixedDiv(vid.width*FRACUNIT, BASEVIDWIDTH*FRACUNIT) / 1.15; + vid.fdupy = FixedDiv(vid.height*FRACUNIT, BASEVIDHEIGHT*FRACUNIT) / 1.15; + } + else + { + vid.dupx = vid.width / BASEVIDWIDTH; + vid.dupy = vid.height / BASEVIDHEIGHT; + vid.dupx = vid.dupy = (vid.dupx < vid.dupy ? vid.dupx : vid.dupy); + vid.fdupx = FixedDiv(vid.width*FRACUNIT, BASEVIDWIDTH*FRACUNIT); + 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