mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-29 12:40:58 +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
|
||||
|
||||
if (vid.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
|
||||
if (setsizeneeded)
|
||||
|
|
|
@ -346,7 +346,7 @@ void Y_IntermissionDrawer(void)
|
|||
}
|
||||
}
|
||||
#ifdef HWRENDER
|
||||
else if(rendermode != render_soft && usebuffer)
|
||||
else if (rendermode != render_soft && usebuffer)
|
||||
HWR_DrawIntermissionBG();
|
||||
#endif
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue