Open Barrelrolla opened 7 years ago
Hey, what's up with this bug? Any status update - is it hard to fix? I would really love to use it!
I'm not seeing this happen when I duplicate the button in the example, which version of Phaser are you guys on?
edit; NVM, just found out it happens on Phaser-CE
Also found out it's a bug in Phaser-ce: http://www.html5gamedevs.com/topic/27041-gldrawelements-source-and-destination-textures-of-the-draw-are-the-same/#comment-165755
So either you downgrade to Phaser 2.6.2, or we rewrite this lib to not user RenderTexture.
Well If it's really a Phaser-ce bug, then this should get fixed at some point and your lib would work right? My point being that if that is the case I can go vote for this issue on Phaser-ce github and possibly try to fix it at some point when I find the time?
No bug reported in the phaser-ce repo yet, I'll be sure to make one later today
Trying to add two instances with a texture from the same atlas causes a WebGL error: [.Offscreen-For-WebGL-07472F00]GL ERROR :GL_INVALID_OPERATION : glDrawElements: Source and destination textures of the draw are the same. The result is that the second instance doesn't show up.
The code that causes the error: