free texture patchlumps proper in R_LoadTextures

drastically reduces ram usage
This commit is contained in:
Alug committed 2024-09-01 20:43:40 +02:00
1 parent 0523d98a1c
commit 8a1ff58dff
1 file changed
+1 -1
+1 -1
View File
@@ -524,7 +524,7 @@ void R_LoadTextures(void)
patch->wad = (UINT16)w;
patch->lump = texstart + j;
Z_Unlock(patchlump);
Z_Free(patchlump);
k = 1;
while (k << 1 <= texture->width)