From f14f9d95c686e98f91a1c5c41a37490e52fb266b Mon Sep 17 00:00:00 2001 From: Joe Wreschnig Date: Thu, 2 Oct 2014 18:03:12 +0200 Subject: [PATCH] Switch back to mediump, which works (better) on iOS. --- src/data/shaders/noise.glsl | 2 +- src/data/shaders/noisyblocks.frag | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data/shaders/noise.glsl b/src/data/shaders/noise.glsl index 84944be..8deb27e 100644 --- a/src/data/shaders/noise.glsl +++ b/src/data/shaders/noise.glsl @@ -28,7 +28,7 @@ THE SOFTWARE. */ -precision highp float; +precision mediump float; vec2 mod289(vec2 x) { return x - floor(x * (1.0 / 289.0)) * 289.0; diff --git a/src/data/shaders/noisyblocks.frag b/src/data/shaders/noisyblocks.frag index be6e051..5b41435 100644 --- a/src/data/shaders/noisyblocks.frag +++ b/src/data/shaders/noisyblocks.frag @@ -3,7 +3,7 @@ waives all copyright and related or neighboring rights to it. */ -precision highp float; +precision mediump float; varying vec2 fTexCoord; varying vec4 fColor; -- 2.30.2