diff --git a/src/d_main.c b/src/d_main.c index 34b940494..ad4c3745f 100644 --- a/src/d_main.c +++ b/src/d_main.c @@ -1772,6 +1772,8 @@ void D_SRB2Main(void) COM_ImmedExecute(va("exec \"%s"PATHSEP"kartserv.cfg\"\n", srb2home)); else COM_ImmedExecute(va("exec \"%s"PATHSEP"kartexec.cfg\" -noerror\n", srb2home)); + + hrscale_shit = 1; if (!autostart) M_PushSpecialParameters(); // push all "+" parameters at the command buffer diff --git a/src/screen.c b/src/screen.c index 738c70c35..29f0ba9a5 100644 --- a/src/screen.c +++ b/src/screen.c @@ -50,6 +50,8 @@ void (*transtransfunc)(void); // translucent translated column drawer void (*twosmultipatchfunc)(void); // for cols with transparent pixels void (*twosmultipatchtransfunc)(void); // for cols with transparent pixels AND translucency +int hrscale_shit = 0; + // ------------------ // global video state // ------------------ @@ -74,7 +76,8 @@ consvar_t cv_highreshudscale = {"highreshudscale", "1", CV_SAVE|CV_FLOAT|CV_CALL static void Highreshudscale_OnChange(void) { - SCR_Recalc(); + if (hrscale_shit) + SCR_Recalc(); } static void SCR_ChangeFullscreen (void); diff --git a/src/screen.h b/src/screen.h index a6a0eb477..a9e090fc1 100644 --- a/src/screen.h +++ b/src/screen.h @@ -166,6 +166,8 @@ void SCR_Startup (void); void SCR_CalculateFPS(void); +extern int hrscale_shit; + FUNCMATH boolean SCR_IsAspectCorrect(INT32 width, INT32 height); // move out to main code for consistency