dont free our rotsprites aa
This commit is contained in:
1 parent
41cb3e932a
commit
8ab097f166
3 files changed
+4
-4
No files matched your search
@@ -550,7 +550,8 @@ static void HWR_FreePatchCache(boolean freeall)
|
||||
if (!freeall)
|
||||
callback = FreeColormapsCallback;
|
||||
|
||||
Z_IterateTags(PU_PATCH, PU_PATCH_ROTATED, callback);
|
||||
//Z_IterateTags(PU_PATCH, PU_PATCH_ROTATED, callback);
|
||||
Z_IterateTags(PU_PATCH, PU_PATCH, callback);
|
||||
Z_IterateTags(PU_SPRITE, PU_HUDGFX, callback);
|
||||
}
|
||||
|
||||
|
||||
@@ -656,7 +656,6 @@ typedef struct
|
||||
#ifdef ROTSPRITE
|
||||
rotsprite_t *rotated; // Rotated patches
|
||||
#endif
|
||||
|
||||
} patch_t;
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
|
||||
+2
-2
@@ -383,7 +383,7 @@ static void Patch_FreeData(patch_t *patch)
|
||||
#endif
|
||||
|
||||
#ifdef ROTSPRITE
|
||||
if (patch->rotated)
|
||||
/*if (patch->rotated)
|
||||
{
|
||||
rotsprite_t *rotsprite = patch->rotated;
|
||||
INT32 i = 0;
|
||||
@@ -396,7 +396,7 @@ static void Patch_FreeData(patch_t *patch)
|
||||
|
||||
Z_Free(rotsprite->patches);
|
||||
Z_Free(rotsprite);
|
||||
}
|
||||
}*/
|
||||
#endif
|
||||
|
||||
if (patch->columnofs)
|
||||
|
||||
Reference in new issue
Block a user