I guess I'll have to do at least SOMETHING about OpenGL

This commit is contained in:
Jaime Passos 2019-11-05 17:35:16 -03:00
parent ed967f077c
commit 6d024b7124
2 changed files with 8 additions and 1 deletions

View file

@ -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)

View file

@ -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