Switch back to mediump, which works (better) on iOS.
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Thu, 2 Oct 2014 16:03:12 +0000 (18:03 +0200)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Thu, 2 Oct 2014 16:03:12 +0000 (18:03 +0200)
src/data/shaders/noise.glsl
src/data/shaders/noisyblocks.frag

index 84944be0c380a0ccb1e74feff30133bdc0856916..8deb27e81f6878911214df5142055f4cfb5e5db6 100644 (file)
@@ -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;
index be6e0511eff78794041b7bbbcbbd805dcd78d0e8..5b414358e1e40dfa7c8a3458561f905e3ef42e71 100644 (file)
@@ -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;