mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-26 22:44:30 -04:00
make sure to never mark main_tranmap as purgeable
Fixes #301, thanks ribbiks
This commit is contained in:
parent
d99bdb6207
commit
2ede2ce185
@ -208,6 +208,8 @@ void R_RenderMaskedSegRange(drawseg_t *ds, int x1, int x2)
|
||||
|
||||
// Except for main_tranmap, mark others purgable at this point
|
||||
if (curline->linedef->tranlump > 0 && general_translucency)
|
||||
// [FG] make sure to never mark main_tranmap as purgeable
|
||||
if (tranmap != main_tranmap)
|
||||
Z_ChangeTag(tranmap, PU_CACHE); // killough 4/11/98
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user