Skip to content

Sprite::setScaleY: fix a potential crash on iOS#20680

Open
BodbDearg wants to merge 1 commit intococos2d:v4from
BodbDearg:bugfix/fix-sprite-setscaley-crash
Open

Sprite::setScaleY: fix a potential crash on iOS#20680
BodbDearg wants to merge 1 commit intococos2d:v4from
BodbDearg:bugfix/fix-sprite-setscaley-crash

Conversation

@BodbDearg
Copy link
Copy Markdown
Contributor

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

…texture assigned. Need to add a null check for a bit of Metal specific code.
@BodbDearg
Copy link
Copy Markdown
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant