Some drivers dont support const array

This commit is contained in:
Vincent Lejeune 2014-03-21 21:51:23 +01:00
parent 9728226ee3
commit aa39246404

View File

@ -34,7 +34,7 @@ float getShadowFactor(vec3 pos, float bias, int index)
{
//float a[5] = float[](3.4, 4.2, 5.0, 5.2, 1.1);
const vec2 shadowoffset[4] = vec2[](
vec2 shadowoffset[4] = vec2[](
vec2(-1., -1.),
vec2(-1., 1.),
vec2(1., -1.),