mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 15:32:33 +00:00
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:
parent
d8a804febc
commit
4c808cb7e2
1 changed files with 0 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue