diff options
author | Robert Hernandez <killerjaguar26@gmail.com> | 2017-06-28 19:17:59 -0400 |
---|---|---|
committer | Robert Hernandez <killerjaguar26@gmail.com> | 2017-06-28 19:17:59 -0400 |
commit | ffe8f8ca2186f656031287a3fcb204e04c49ba20 (patch) | |
tree | d56b76b8952362acb00fc1ea766a7e0f7b236126 /drivers | |
parent | db3b05d2893dcaddeb3bcb10b845ff150eb50895 (diff) |
Fixed NinePatches not working on HTML5
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gles3/shaders/canvas.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles3/shaders/canvas.glsl b/drivers/gles3/shaders/canvas.glsl index 31bae66278..1c950c82d9 100644 --- a/drivers/gles3/shaders/canvas.glsl +++ b/drivers/gles3/shaders/canvas.glsl @@ -368,7 +368,7 @@ void main() { ); if (draw_center==0) { - color.a=0; + color.a=0.0; } uv = uv*src_rect.zw+src_rect.xy; //apply region if needed |