Actually don't even call HWR_FreeMipmapCache between levels because I feel like it's futile outside of PWAD loading

This commit is contained in:
Jaime Passos 2019-12-08 04:32:25 -03:00
parent d8a804febc
commit 4c808cb7e2
1 changed files with 0 additions and 2 deletions

View File

@ -3026,10 +3026,8 @@ boolean P_SetupLevel(boolean skipprecip)
// Even mipmaps that aren't related to level textures.
// Presumably, the hardware render code used to store textures as level data.
// Meaning, they had memory allocated and marked with the PU_LEVEL tag.
// Now, only mipmaps that AREN'T level textures are freed between levels.
// Level textures are only reloaded after R_LoadTextures, which is
// when the texture list is loaded.
HWR_FreeMipmapCache();
#ifdef ALAM_LIGHTING
// BP: reset light between levels (we draw preview frame lights on current frame)
HWR_ResetLights();