Skip to content

Commit 56c1ed0

Browse files
authored
Update GLSLCompat.glsllib
1 parent 585e1ec commit 56c1ed0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

jme3-core/src/main/resources/Common/ShaderLib/GLSLCompat.glsllib

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
#ifdef FRAGMENT_SHADER
22
precision highp float;
33
precision highp int;
4-
precision highp sampler2DArray;
5-
precision highp sampler2DShadow;
4+
#if __VERSION__ >= 130
5+
precision highp sampler2DArray;
6+
#endif
7+
precision highp sampler2DShadow;
68
precision highp samplerCube;
79
precision highp sampler3D;
810
precision highp sampler2D;

0 commit comments

Comments
 (0)