ForgeableSum Posted December 13, 2016 Share Posted December 13, 2016 glDrawElements: Source and destination textures of the draw are the same. Anyone getting this error on the latest version of Phaser (CE 2.7.2)? Link to comment Share on other sites More sharing options...
Francisco Posted January 16, 2017 Share Posted January 16, 2017 I have the same problem. Did you resolve this issue? Link to comment Share on other sites More sharing options...
ForgeableSum Posted February 28, 2017 Author Share Posted February 28, 2017 Still having the issue anything i try out the community edition. Link to comment Share on other sites More sharing options...
ForgeableSum Posted February 28, 2017 Author Share Posted February 28, 2017 because of this issue, I've been stuck on v 2.6.2 for the longest time. It seems completely untraceable. All my sprites are black boxes with the dimensions of the sprite bounds. Link to comment Share on other sites More sharing options...
stupot Posted March 3, 2017 Share Posted March 3, 2017 I've had this in v2.6.2 the other day, can't remember exactly what I was doing but I was comparing bitmapData and renderTexture functionality. Link to comment Share on other sites More sharing options...
stupot Posted March 3, 2017 Share Posted March 3, 2017 Here we go, this may or may not have the same reason why you are experincing this, but it's reproducible. It's a browser warning in the console. When the warning is displayed, the draw operation appears to have worked. This code (typed into console with Phaser running, note that what everybody else calls 'game' I call 'mpg, so adjust as necessary), works without warnings: var rtBG = mpg.add.renderTexture(1024, 1024, 'rtBG'); rtBG.renderRawXY(mpg.world, 0, 0); var imgRTBG = mpg.add.image(0, 0, rtBG); Where as this code, with 2nd and 3rd lines swapped, produces the warning: var rtBG = mpg.add.renderTexture(1024, 1024, 'rtBG'); var imgRTBG = mpg.add.image(0, 0, rtBG); rtBG.renderRawXY(mpg.world, 0, 0); Here's the console log for the warning: Link to comment Share on other sites More sharing options...
ForgeableSum Posted April 6, 2017 Author Share Posted April 6, 2017 for the first few seconds, everything runs fine and then all the sprites turn black. I'm not sure what the deal is. I thought it would be fixed by 2.7.5, but apparently it's still an issue. Link to comment Share on other sites More sharing options...
samme Posted April 7, 2017 Share Posted April 7, 2017 It won't get fixed until someone debugs and patches it. Link to comment Share on other sites More sharing options...
Recommended Posts