fix: line shader must have highp
This commit is contained in:
parent
00ceb9f359
commit
1bb112e685
@ -1,5 +1,6 @@
|
|||||||
#ifdef GLES
|
#ifdef GLES
|
||||||
precision mediump float;
|
// highp is necessary to not loose texture coordinate bits
|
||||||
|
precision highp float;
|
||||||
#endif
|
#endif
|
||||||
uniform mat4 u_mvp;
|
uniform mat4 u_mvp;
|
||||||
// uniform mat4 u_vp;
|
// uniform mat4 u_vp;
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#ifndef DESKTOP_QUIRKS
|
#ifdef GLES
|
||||||
precision mediump float;
|
// highp is necessary to not loose texture coordinate bits
|
||||||
|
precision highp float;
|
||||||
#endif
|
#endif
|
||||||
uniform mat4 u_mvp;
|
uniform mat4 u_mvp;
|
||||||
// uniform mat4 u_vp;
|
// uniform mat4 u_vp;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user