diff options
Diffstat (limited to 'render/gles2/shaders/quad.frag')
-rw-r--r-- | render/gles2/shaders/quad.frag | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/render/gles2/shaders/quad.frag b/render/gles2/shaders/quad.frag index 08291046..f9712797 100644 --- a/render/gles2/shaders/quad.frag +++ b/render/gles2/shaders/quad.frag @@ -1,7 +1,8 @@ precision mediump float; varying vec4 v_color; varying vec2 v_texcoord; +uniform vec4 color; void main() { - gl_FragColor = v_color; + gl_FragColor = color; } |