From ffe8f8ca2186f656031287a3fcb204e04c49ba20 Mon Sep 17 00:00:00 2001 From: Robert Hernandez Date: Wed, 28 Jun 2017 19:17:59 -0400 Subject: Fixed NinePatches not working on HTML5 --- drivers/gles3/shaders/canvas.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gles3') 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 -- cgit v1.2.3