webgl: Use mediump in triangle test

Support for this should be almost universal.
This commit is contained in:
Emilio Cobos Álvarez 2015-12-07 18:02:20 +01:00
parent f5d05a39af
commit 89b65f3a02

View file

@ -19,9 +19,7 @@
}
</script>
<script id="fragmentshader" type="x-shader">
#ifdef GL_ES
precision highp float;
#endif
precision mediump float;
varying vec4 aVertexColor;