mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Fix USE_OPENGL=0 build... again. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@4277 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
1b3046d1c8
commit
39bd7110d6
1 changed files with 8 additions and 4 deletions
|
@ -9254,7 +9254,9 @@ void drawmasks(void)
|
|||
else if ((tspriteptr[i]->cstat&48) == 0)
|
||||
{
|
||||
killsprite:
|
||||
#ifdef USE_OPENGL
|
||||
if (!modelp)
|
||||
#endif
|
||||
{
|
||||
spritesortcnt--; //Delete face sprite if on wrong side!
|
||||
if (i != spritesortcnt)
|
||||
|
@ -9919,11 +9921,12 @@ void E_MapArt_Clear(void)
|
|||
RESTORE_MAPART_ARRAY(picanm, g_bakPicAnm);
|
||||
|
||||
E_RecalcPicSiz();
|
||||
|
||||
#ifdef USE_OPENGL
|
||||
gltexinvalidatetype(INVALIDATE_ART);
|
||||
#ifdef POLYMER
|
||||
# ifdef POLYMER
|
||||
if (getrendermode() == REND_POLYMER)
|
||||
polymer_texinvalidate();
|
||||
# endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -9977,11 +9980,12 @@ void E_MapArt_Setup(const char *filename)
|
|||
}
|
||||
|
||||
E_RecalcPicSiz();
|
||||
|
||||
#ifdef USE_OPENGL
|
||||
gltexinvalidatetype(INVALIDATE_ART);
|
||||
#ifdef POLYMER
|
||||
# ifdef POLYMER
|
||||
if (getrendermode() == REND_POLYMER)
|
||||
polymer_texinvalidate();
|
||||
# endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue