disable palette rendering if screentextures aint enabled

This commit is contained in:
Alug committed 2024-04-19 06:21:58 +02:00
1 parent 81d60165a3
commit 515c67fa3a
1 file changed
+2
+2
View File
@@ -189,6 +189,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);
}