diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index b4a77cc24..3732a380a 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -6334,8 +6334,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 @@ -6349,8 +6348,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(); } } }