From aa392464042f7903b01d5938f7ed1f334276654a Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Fri, 21 Mar 2014 21:51:23 +0100 Subject: [PATCH] Some drivers dont support const array --- data/shaders/sunlightshadow.frag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/shaders/sunlightshadow.frag b/data/shaders/sunlightshadow.frag index 69ffafd41..d1fbed8bf 100644 --- a/data/shaders/sunlightshadow.frag +++ b/data/shaders/sunlightshadow.frag @@ -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.),