Merge pull request #9437 from robertdhernandez/NinePatch-HTML5-Fix

[3.0] Fixed NinePatches not working on HTML5
This commit is contained in:
Juan Linietsky 2017-06-28 21:20:39 -03:00 committed by GitHub
commit 198bd9db02

View File

@ -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