Problem: black and white texture after sleep!!

after standby, sometimes my screen looks like this:

I think the problem is the CCScrollView. In fact, if I did not add as a child, the problem does not occur! BUT why? CCScrollView has a bug or something?

Ok, resolved! The problem is the “CCControlSwitch”! I have removed this and the problem does not appear again.

That’s one way of resolving it. The problem is in the control itself, can you guys fix it?
Here’s another thread that mentions this problem:
http://www.cocos2d-x.org/boards/6/topics/17881

Also, if you create more than 1 control with the same sprites, they look weird. Just modify the tests and add another CCControlSwitch.

gigi 250 wrote:

Ok, resolved! The problem is the “CCControlSwitch”! I have removed this and the problem does not appear again.