dont free our rotsprites aa

This commit is contained in:
Alug committed 2025-04-16 15:58:37 +02:00
1 parent 41cb3e932a
commit 8ab097f166
3 files changed
+4 -4

No files matched your search

+2 -1
View File
@@ -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);
}
-1
View File
@@ -656,7 +656,6 @@ typedef struct
#ifdef ROTSPRITE
rotsprite_t *rotated; // Rotated patches
#endif
} patch_t;
#if defined(_MSC_VER)
+2 -2
View File
@@ -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)