OpenGL2: Fix a glsl compile error on old hardware with r_shadowFilter 0.

This commit is contained in:
SmileTheory 2014-08-02 00:02:46 -07:00
parent ff1f093a0b
commit ca9eebb125
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ float PCF(const sampler2DShadow shadowmap, const vec2 st, const float dist)
mult *= 0.33333;
#endif
#else
mult = shadow2D(shadowmap, vec3(st, dist));
mult = shadow2D(shadowmap, vec3(st, dist)).r;
#endif
return mult;