If GLENCORE is enabled, free both encore and noencore textures
This commit is contained in:
1 parent
afd0613199
commit
feb93360a4
1 file changed
+4
@@ -585,7 +585,11 @@ void HWR_FreeMapTextures(void)
|
||||
{
|
||||
size_t i;
|
||||
|
||||
#ifdef GLENCORE
|
||||
for (i = 0; i < gl_numtextures*2; i++)
|
||||
#else
|
||||
for (i = 0; i < gl_numtextures; i++)
|
||||
#endif
|
||||
{
|
||||
FreeMapTexture(&gl_textures[i]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user