cocos2d-x
cocos2d-x copied to clipboard
Sprite::setScaleY: fix a potential crash on iOS
trafficstars
The crash occurs if the sprite has no texture assigned. Need to add a null check for a bit of Metal specific code.
The CI failure doesn't look related in any way to the changes made. Not sure what is going on there?