From 91a4646f194ecf8fbb551077fffa5085adf4570e Mon Sep 17 00:00:00 2001 From: Alug Date: Sun, 3 Aug 2025 15:51:15 +0200 Subject: [PATCH] dont PU_CACHE our planeflats --- src/r_plane.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/r_plane.cpp b/src/r_plane.cpp index 0e2e563ff..dd4813794 100644 --- a/src/r_plane.cpp +++ b/src/r_plane.cpp @@ -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)