Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update src/video/cocoa/wnd_quartz.mm
Co-Authored-By: Michael Lutz <michi@icosahedron.de>
- Loading branch information
38b1277
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I placed this change above the check for nil. It should probably be after that to prevent a crash when window = nil.
38b1277
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In Objective-C, calling a selector on NULL is allowed and just does nothing.
38b1277
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I was not aware. Thanks!