mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
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:
parent
0bf2ae9bab
commit
27dbb4d2e8
1 changed files with 12 additions and 0 deletions
|
@ -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 ////////////////////
|
||||
|
|
Loading…
Reference in a new issue