diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2016-04-27 21:19:22 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2016-04-27 21:19:41 +0200 |
commit | 637c021570fb610a75377bd2dedd2f253dc8f07f (patch) | |
tree | aefe0930c83889e144d3f0eb8fcf37189012ebdc | |
parent | 13d308f8a7bdfcdd8bac2db3f2c6a9a7bc5e9db0 (diff) | |
download | cv-637c021570fb610a75377bd2dedd2f253dc8f07f.tar.gz cv-637c021570fb610a75377bd2dedd2f253dc8f07f.tar.bz2 cv-637c021570fb610a75377bd2dedd2f253dc8f07f.zip |
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.frag | 2 |
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; |