summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRobert Hernandez <killerjaguar26@gmail.com>2017-06-28 19:17:59 -0400
committerRobert Hernandez <killerjaguar26@gmail.com>2017-06-28 19:17:59 -0400
commitffe8f8ca2186f656031287a3fcb204e04c49ba20 (patch)
treed56b76b8952362acb00fc1ea766a7e0f7b236126 /drivers
parentdb3b05d2893dcaddeb3bcb10b845ff150eb50895 (diff)
Fixed NinePatches not working on HTML5
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gles3/shaders/canvas.glsl2
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