haxeui / haxeui-kha

The Kha backend of the HaxeUI framework -
http://haxeui.org
MIT License
45 stars 16 forks source link

Avoid Krom crash/fails with fromEncodedBytes #34

Closed mundusnine closed 5 years ago

mundusnine commented 5 years ago

Use loadImageFromPath instead of fromEncodedBytes on Krom target to avoid crash caused by Js engine crapping the returned Image data. A fix in Krom directly will take more time to investigate so this avoids the issue in the meantime.