apparently this is GLES2 only
authornemo
Fri, 05 Jan 2018 16:12:19 -0500
changeset 12884 286e170f4f6b
parent 12880 dc1ff1491b63
child 12890 dab60d247b75
apparently this is GLES2 only
share/hedgewars/Data/Shaders/default.fs
share/hedgewars/Data/Shaders/default.vs
share/hedgewars/Data/Shaders/water.fs
share/hedgewars/Data/Shaders/water.vs
--- a/share/hedgewars/Data/Shaders/default.fs	Tue Jan 02 16:59:04 2018 -0500
+++ b/share/hedgewars/Data/Shaders/default.fs	Fri Jan 05 16:12:19 2018 -0500
@@ -1,4 +1,6 @@
+#ifdef GL_ES
 precision mediump float;
+#endif
 
 uniform sampler2D tex0;
 uniform vec4 tint;
--- a/share/hedgewars/Data/Shaders/default.vs	Tue Jan 02 16:59:04 2018 -0500
+++ b/share/hedgewars/Data/Shaders/default.vs	Fri Jan 05 16:12:19 2018 -0500
@@ -1,4 +1,6 @@
+#ifdef GL_ES
 precision mediump float;
+#endif
 
 attribute vec2 vertex;
 attribute vec2 texcoord;
--- a/share/hedgewars/Data/Shaders/water.fs	Tue Jan 02 16:59:04 2018 -0500
+++ b/share/hedgewars/Data/Shaders/water.fs	Fri Jan 05 16:12:19 2018 -0500
@@ -1,4 +1,6 @@
+#ifdef GL_ES
 precision mediump float;
+#endif
 
 varying vec4 vcolor;
 
--- a/share/hedgewars/Data/Shaders/water.vs	Tue Jan 02 16:59:04 2018 -0500
+++ b/share/hedgewars/Data/Shaders/water.vs	Fri Jan 05 16:12:19 2018 -0500
@@ -1,4 +1,6 @@
+#ifdef GL_ES
 precision mediump float;
+#endif
 
 attribute vec2 vertex;
 attribute vec4 color;