From abe102649e5607a7fe1443603dc56c5ad99d09df Mon Sep 17 00:00:00 2001 From: Alug Date: Mon, 22 Jan 2024 02:52:33 +0100 Subject: [PATCH] forgor --- src/hardware/hw_main.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index de0604e4f..786c7dbfc 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -6373,8 +6373,7 @@ void HWR_TogglePaletteRendering(void) // If the r_opengl "texture palette" stays the same during this switch, these textures // will not be cleared out. However they are still out of date since the // composite texture blending method has changed. Therefore they need to be cleared. - //HWD.pfnClearMipMapCache(); - HWR_PrepLevelCache(numtextures); + HWD.pfnClearMipMapCache(); } } else @@ -6388,8 +6387,7 @@ void HWR_TogglePaletteRendering(void) // If the r_opengl "texture palette" stays the same during this switch, these textures // will not be cleared out. However they are still out of date since the // composite texture blending method has changed. Therefore they need to be cleared. - //HWD.pfnClearMipMapCache(); - HWR_PrepLevelCache(numtextures); + HWD.pfnClearMipMapCache(); } } }