Hi,
I’m attaching a shader to a CCSprite and it works well.
The problem is that the shader is lost when pressing the home button and resuming the game.
Anyone knows what is causing this?
Thanks
Hi,
I’m attaching a shader to a CCSprite and it works well.
The problem is that the shader is lost when pressing the home button and resuming the game.
Anyone knows what is causing this?
Thanks
Ok, got it fixed by using CCNotificationCenter and EVNET_COME_TO_FOREGROUND