Made mac custom cursors more optimized
This commit is contained in:
Vendored
+3
-1
@@ -117,10 +117,12 @@ namespace ExternalMac
|
||||
{
|
||||
cursor = [[NSCursor alloc] initWithImage:tmpImage hotSpot:NSMakePoint(customX, customY)];
|
||||
customCursorCache[customCursor] = cursor;
|
||||
// [tmpImage release];
|
||||
[tmpImage release];
|
||||
}
|
||||
else
|
||||
NSLog(@"Failed to load image %@", cursorImageName);
|
||||
|
||||
[cursorImageName release];
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user