X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=cl_screen.c;h=d6f522cb364b283cbeab56431dd4f934ab1b4b65;hb=c07e1f2b31de62fd14ffd9d4bd93714797503c87;hp=c916aafcb1b2da92e56de614e267dde766055ad1;hpb=af0b7a1fa11c2ceedeb9f66ca950f6c0bff8ad8f;p=xonotic%2Fdarkplaces.git diff --git a/cl_screen.c b/cl_screen.c index c916aafc..d6f522cb 100644 --- a/cl_screen.c +++ b/cl_screen.c @@ -938,6 +938,14 @@ void CL_SetupScreenSize(void) vid.conwidth = vid_conwidth.integer; vid.conheight = vid_conheight.integer; +/* if (vid.realheight > 240) + { + vid.conheight = (vid.realheight - 240) * scr_2dresolution.value + 240; + vid.conheight = bound(240, vid.conheight, vid.realheight); + } + else + vid.conheight = 240;*/ + SCR_SetUpToDrawConsole(); // determine size of refresh window @@ -984,9 +992,9 @@ void CL_UpdateScreen(void) SHOWLMP_drawall(); SCR_CheckDrawCenterString(); } - ui_draw(); + MR_Draw(); CL_DrawVideo(); - M_Draw(); + ui_draw(); if (cls.signon == SIGNONS) { R_TimeReport("2d");