disable palette rendering if screentextures aint enabled

This commit is contained in:
Alug committed 2024-04-19 06:23:12 +02:00
1 parent a238b19c75
commit bcf2b3bab2
1 file changed
+2
+2
View File
@@ -177,6 +177,8 @@ static void CV_anisotropic_ONChange(void)
static void CV_screentextures_ONChange(void)
{
ONLY_IF_GL_LOADED
if (cv_grscreentextures.value != 3)
CV_Set(&cv_grpaletterendering, "Off");
HWD.pfnSetSpecialState(HWD_SET_SCREEN_TEXTURES, cv_grscreentextures.value);
}