]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_shadow.c
get rid of 3 permutation bits
[xonotic/darkplaces.git] / r_shadow.c
index 19ae463ef4a6d54a63ade706f48909d132aace71..320667dfcf557762f9988855482d53eb5af483b3 100644 (file)
@@ -496,6 +496,9 @@ static void R_Shadow_SetShadowMode(void)
                        break;
                }
        }
+
+       if(R_CompileShader_CheckStaticParms())
+               R_GLSL_Restart_f();
 }
 
 qboolean R_Shadow_ShadowMappingEnabled(void)