From 637c021570fb610a75377bd2dedd2f253dc8f07f Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Wed, 27 Apr 2016 21:19:22 +0200 Subject: wimmel.frag: Define the required precision 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' --- wimmel.frag | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit