cocos2d-x icon indicating copy to clipboard operation
cocos2d-x copied to clipboard

Sprite::setScaleY: fix a potential crash on iOS

Open BodbDearg opened this issue 4 years ago • 1 comments
trafficstars

The crash occurs if the sprite has no texture assigned. Need to add a null check for a bit of Metal specific code.

BodbDearg avatar Aug 05 '21 23:08 BodbDearg

The CI failure doesn't look related in any way to the changes made. Not sure what is going on there?

BodbDearg avatar Aug 06 '21 00:08 BodbDearg