Skip to content

Commit 771592c

Browse files
authored
Update GLSLCompat.glsllib
1 parent 96328ae commit 771592c

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

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

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
1-
#ifdef FRAGMENT_SHADER
2-
precision highp float;
3-
precision highp int;
4-
#if __VERSION__ >= 130
5-
precision highp sampler2DArray;
6-
#endif
7-
precision highp sampler2DShadow;
8-
precision highp samplerCube;
9-
precision highp sampler3D;
10-
precision highp sampler2D;
11-
#if __VERSION__ >= 310
12-
precision highp sampler2DMS;
13-
#endif
14-
1+
#ifdef GL_ES
2+
#ifdef FRAGMENT_SHADER
3+
precision highp float;
4+
precision highp int;
5+
#if __VERSION__ >= 130
6+
precision highp sampler2DArray;
7+
#endif
8+
precision highp sampler2DShadow;
9+
precision highp samplerCube;
10+
precision highp sampler3D;
11+
precision highp sampler2D;
12+
#if __VERSION__ >= 310
13+
precision highp sampler2DMS;
14+
#endif
15+
#endif
1516
#endif
1617

1718
#if defined GL_ES

0 commit comments

Comments
 (0)