summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2016-04-27 21:19:22 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2016-04-27 21:19:41 +0200
commit637c021570fb610a75377bd2dedd2f253dc8f07f (patch)
treeaefe0930c83889e144d3f0eb8fcf37189012ebdc
parent13d308f8a7bdfcdd8bac2db3f2c6a9a7bc5e9db0 (diff)
downloadcv-637c021570fb610a75377bd2dedd2f253dc8f07f.zip
cv-637c021570fb610a75377bd2dedd2f253dc8f07f.tar.gz
cv-637c021570fb610a75377bd2dedd2f253dc8f07f.tar.bz2
wimmel.frag: Define the required precisionHEADmaster
Or we get errors like: fragment shader info: 0:1(1): error: no precision specified this scope for type `vec2' 0:4(1): error: no precision specified this scope for type `vec2' 0:6(1): error: no precision specified this scope for type `vec4' 0:13(2): error: no precision specified this scope for type `float' 0:17(2): error: no precision specified this scope for type `vec4' 0:18(2): error: no precision specified this scope for type `vec4'
-rw-r--r--wimmel.frag2
1 files changed, 2 insertions, 0 deletions
diff --git a/wimmel.frag b/wimmel.frag
index 58d633e..48a9692 100644
--- a/wimmel.frag
+++ b/wimmel.frag
@@ -1,3 +1,5 @@
+precision mediump float;
+
varying vec2 v_texcoord;
uniform sampler2D tex;
uniform sampler2D tex2;