Open laniolove opened 8 years ago
MenuItemFont instance run a action, the action is FlipX::create(true), the program crash. How to solve the problem?
MenuItemFont has not _textureAtlas member variable, but it use the variable(force MenuItemFont to convert to Sprite), When flip update it.
so the _textureAtlas is wild pointer, isn't it?
Could you show me some test codes?
MenuItemFont instance run a action, the action is FlipX::create(true), the program crash. How to solve the problem?
MenuItemFont has not _textureAtlas member variable, but it use the variable(force MenuItemFont to convert to Sprite), When flip update it.
so the _textureAtlas is wild pointer, isn't it?