MapArt: gltexinvalidatetype(INVALIDATE_ART) so that loading or unloading an ART set will take effect when using the OpenGL renderers.

git-svn-id: https://svn.eduke32.com/eduke32@4272 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2014-01-27 10:31:08 +00:00
parent 0bf2ae9bab
commit 27dbb4d2e8

View file

@ -9917,6 +9917,12 @@ void E_MapArt_Clear(void)
RESTORE_MAPART_ARRAY(picanm, g_bakPicAnm);
E_RecalcPicSiz();
gltexinvalidatetype(INVALIDATE_ART);
#ifdef POLYMER
if (getrendermode() == REND_POLYMER)
polymer_texinvalidate();
#endif
}
void E_MapArt_Setup(const char *filename)
@ -9969,6 +9975,12 @@ void E_MapArt_Setup(const char *filename)
}
E_RecalcPicSiz();
gltexinvalidatetype(INVALIDATE_ART);
#ifdef POLYMER
if (getrendermode() == REND_POLYMER)
polymer_texinvalidate();
#endif
}
//////////////////// LOADING AND SAVING ROUTINES ////////////////////