mirror of https://github.com/encounter/SDL.git
Fixed building with 10.9 SDK
Fixes https://github.com/libsdl-org/SDL/issues/5954
This commit is contained in:
parent
3ab1e303ec
commit
4d66501736
|
@ -117,7 +117,7 @@ LoadHiddenSystemCursor(NSString *cursorName, SEL fallback)
|
|||
const int frames = (int)[[info valueForKey:@"frames"] integerValue];
|
||||
NSCursor *cursor;
|
||||
NSImage *image = [[NSImage alloc] initWithContentsOfFile:[cursorPath stringByAppendingPathComponent:@"cursor.pdf"]];
|
||||
if ((image == nil) || (image.valid == NO)) {
|
||||
if ((image == nil) || (image.isValid == NO)) {
|
||||
return [NSCursor performSelector:fallback];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue