mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-30 21:20:54 +00:00
I guess I'll have to do at least SOMETHING about OpenGL
This commit is contained in:
parent
ed967f077c
commit
6d024b7124
2 changed files with 8 additions and 1 deletions
|
@ -227,7 +227,14 @@ static void D_Display(void)
|
||||||
SCR_SetMode(); // change video mode
|
SCR_SetMode(); // change video mode
|
||||||
|
|
||||||
if (vid.recalc)
|
if (vid.recalc)
|
||||||
|
{
|
||||||
SCR_Recalc(); // NOTE! setsizeneeded is set by SCR_Recalc()
|
SCR_Recalc(); // NOTE! setsizeneeded is set by SCR_Recalc()
|
||||||
|
#ifdef HWRENDER
|
||||||
|
// Shoot! The screen texture was flushed!
|
||||||
|
if ((rendermode == render_opengl) && (gamestate == GS_INTERMISSION))
|
||||||
|
usebuffer = false;
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
// change the view size if needed
|
// change the view size if needed
|
||||||
if (setsizeneeded)
|
if (setsizeneeded)
|
||||||
|
|
|
@ -346,7 +346,7 @@ void Y_IntermissionDrawer(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#ifdef HWRENDER
|
#ifdef HWRENDER
|
||||||
else if(rendermode != render_soft && usebuffer)
|
else if (rendermode != render_soft && usebuffer)
|
||||||
HWR_DrawIntermissionBG();
|
HWR_DrawIntermissionBG();
|
||||||
#endif
|
#endif
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue