mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Merge branch 'free-texture-lumps' into 'master'
Free 700 mb of unused texture data See merge request KartKrew/Kart!497
This commit is contained in:
commit
6edbc9922a
1 changed files with 2 additions and 2 deletions
|
|
@ -814,7 +814,7 @@ Rloadflats (INT32 i, INT32 w)
|
||||||
patch->lump = texstart + j;
|
patch->lump = texstart + j;
|
||||||
patch->flip = 0;
|
patch->flip = 0;
|
||||||
|
|
||||||
Z_Unlock(flatlump);
|
Z_Free(flatlump);
|
||||||
|
|
||||||
texturewidth[i] = texture->width;
|
texturewidth[i] = texture->width;
|
||||||
textureheight[i] = texture->height << FRACBITS;
|
textureheight[i] = texture->height << FRACBITS;
|
||||||
|
|
@ -915,7 +915,7 @@ Rloadtextures (INT32 i, INT32 w)
|
||||||
patch->lump = texstart + j;
|
patch->lump = texstart + j;
|
||||||
patch->flip = 0;
|
patch->flip = 0;
|
||||||
|
|
||||||
Z_Unlock(patchlump);
|
Z_Free(patchlump);
|
||||||
|
|
||||||
texturewidth[i] = texture->width;
|
texturewidth[i] = texture->width;
|
||||||
textureheight[i] = texture->height << FRACBITS;
|
textureheight[i] = texture->height << FRACBITS;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue