fix: line shader must have highp

This commit is contained in:
Hannes Janetzek 2015-04-22 06:33:06 +02:00
parent 00ceb9f359
commit 1bb112e685
2 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,6 @@
#ifdef GLES
precision mediump float;
// highp is necessary to not loose texture coordinate bits
precision highp float;
#endif
uniform mat4 u_mvp;
// uniform mat4 u_vp;

View File

@ -1,5 +1,6 @@
#ifndef DESKTOP_QUIRKS
precision mediump float;
#ifdef GLES
// highp is necessary to not loose texture coordinate bits
precision highp float;
#endif
uniform mat4 u_mvp;
// uniform mat4 u_vp;