dont PU_CACHE our planeflats
This commit is contained in:
1 parent
eba5965220
commit
91a4646f19
1 file changed
+1
-3
+1
-3
@@ -1182,7 +1182,7 @@ void R_DrawSinglePlane(drawspandata_t* ds, visplane_t *pl, boolean allow_paralle
|
||||
levelflat = &levelflats[pl->picnum];
|
||||
|
||||
// Get the texture
|
||||
ds->source = (UINT8 *)W_CacheLumpNum(levelflat->lumpnum, PU_STATIC); // Stay here until Z_ChangeTag
|
||||
ds->source = R_GetFlat(levelflat->lumpnum);
|
||||
|
||||
if (ds->source == NULL)
|
||||
return;
|
||||
@@ -1387,8 +1387,6 @@ using the palette colors.
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Z_ChangeTag(ds->source, PU_CACHE);
|
||||
}
|
||||
|
||||
void R_PlaneBounds(visplane_t *plane)
|
||||
|
||||
Reference in new issue
Block a user