HaxeFlixel / flixel-ui

GUI library for HaxeFlixel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FlxUI9SliceSprite renders incorrectly with webgl

CarlOlson opened this issue · comments

Webgl only renders the corners of 9-sliced sprites.

This can be seen in the RPGInterface demo.
lime test html5 -Dwebgl

Thanks for opening this issue, it's been something I've known about for a while but haven't gotten around to fixing yet, good to put up an issue for it so we can make sure we eventually address it.

Does it happen in every browser for you or just some?

Every browser. I think I've narrowed it down to the final_pixels.draw call/s. So the error might be in BitmapData's draw method. It might be a problem for the OpenFL devs.

Haha, that actually looks quite funny. :)

Also seeing this. Additionally, my sprites that are composed using stamp() do not show up either, also suggesting that this might be either a core HaxeFlixel issue or an OpenFL issue.

This is no longer an issue with OpenFL 8: