Merge pull request #9437 from robertdhernandez/NinePatch-HTML5-Fix
[3.0] Fixed NinePatches not working on HTML5
This commit is contained in:
commit
198bd9db02
|
@ -368,7 +368,7 @@ void main() {
|
||||||
);
|
);
|
||||||
|
|
||||||
if (draw_center==0) {
|
if (draw_center==0) {
|
||||||
color.a=0;
|
color.a=0.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
uv = uv*src_rect.zw+src_rect.xy; //apply region if needed
|
uv = uv*src_rect.zw+src_rect.xy; //apply region if needed
|
||||||
|
|
Loading…
Reference in New Issue