diff options
author | Juan Linietsky <juan@godotengine.org> | 2018-12-18 17:40:28 -0300 |
---|---|---|
committer | Juan Linietsky <juan@godotengine.org> | 2018-12-18 17:50:35 -0300 |
commit | bec76cfa19684cbfce3677044331805fd2a54d8b (patch) | |
tree | a54f497603d08a73a9f60a6a5bc3c2577687c342 /drivers/gles2/shaders | |
parent | 3c999ae1a1f897716041b45606a4506790da1e91 (diff) |
Change how rects are drawn (and also will help batching eventually), to workaround problem in #9913
Diffstat (limited to 'drivers/gles2/shaders')
-rw-r--r-- | drivers/gles2/shaders/canvas.glsl | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gles2/shaders/canvas.glsl b/drivers/gles2/shaders/canvas.glsl index 79d4eb2243..87a615ade1 100644 --- a/drivers/gles2/shaders/canvas.glsl +++ b/drivers/gles2/shaders/canvas.glsl @@ -72,11 +72,8 @@ void main() { #else vec4 outvec = vec4(vertex.xy, 0.0, 1.0); -#ifdef USE_UV_ATTRIBUTE uv_interp = uv_attrib; -#else - uv_interp = vertex.xy; -#endif + #endif |