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

View file

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