game.dev Posted April 24, 2015 Share Posted April 24, 2015 Hello guys,I have got an issue with game destroy on webGL rendering.Reproducing:In the following example of creating animation on PIXI,just need to build and destroy the game for 5 timesSo here is simple example of the issue:http://jsfiddle.net/07gy4p6e/3/On the fifth iteration of building and destroying the texture is transformed into back rectangle,but on Canvas rendering everything works fine for any iteration.I what to notice, that in the big project this happens earlier (on 3 iteration of building / destroying)Is someone met with this error in the past? How is it possible to handle this issue?Thank for any advice Quote Link to comment Share on other sites More sharing options...
game.dev Posted April 30, 2015 Author Share Posted April 30, 2015 It is hard-coded to 4 available IDs (renderers)https://github.com/GoodBoyDigital/pixi.js/blob/v2.x/src/pixi/textures/BaseTexture.js#L110 Fixed in PIXI v3 hannyajin 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.