Fix precision of vertex shader

* shaders.txt (Composite Rectangle Vertex Shader): Use medium
precision.
This commit is contained in:
hujianwei 2022-11-17 06:07:30 +00:00
parent 5e2d83c0d0
commit 01a957737b

View file

@ -28,6 +28,7 @@ main (void)
//== //==
//== Composite Rectangle Vertex Shader //== Composite Rectangle Vertex Shader
precision mediump float;
attribute vec2 pos; attribute vec2 pos;
attribute vec2 texcoord; attribute vec2 texcoord;
varying vec2 v_texcoord; varying vec2 v_texcoord;