mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 06:14:35 +00:00
Formatting
This commit is contained in:
parent
7be62631ae
commit
52e47b5a53
@ -1540,7 +1540,7 @@ int _glfwPlatformCreateCursor(_GLFWcursor* cursor,
|
|||||||
memcpy([rep bitmapData], image->pixels, image->width * image->height * 4);
|
memcpy([rep bitmapData], image->pixels, image->width * image->height * 4);
|
||||||
|
|
||||||
native = [[NSImage alloc] initWithSize:NSMakeSize(image->width, image->height)];
|
native = [[NSImage alloc] initWithSize:NSMakeSize(image->width, image->height)];
|
||||||
[native addRepresentation: rep];
|
[native addRepresentation:rep];
|
||||||
|
|
||||||
cursor->ns.object = [[NSCursor alloc] initWithImage:native
|
cursor->ns.object = [[NSCursor alloc] initWithImage:native
|
||||||
hotSpot:NSMakePoint(xhot, yhot)];
|
hotSpot:NSMakePoint(xhot, yhot)];
|
||||||
|
Loading…
Reference in New Issue
Block a user