This commit is contained in:
Alug committed 2024-01-22 02:52:50 +01:00
1 parent 6ab1b09aa8
commit e2c52c0d14
1 file changed
+2 -4
+2 -4
View File
@@ -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();
}
}
}