Fix ARGB order on Native Cursors

This commit is contained in:
kappaOne 2013-01-25 01:03:13 +00:00
parent 486ff0edea
commit fc2889cc27
1 changed files with 3 additions and 3 deletions

View File

@ -113,9 +113,9 @@ JNIEXPORT jobject JNICALL Java_org_lwjgl_opengl_MacOSXNativeMouse_nCreateCursor(
hasAlpha:YES
isPlanar:NO
colorSpaceName:NSDeviceRGBColorSpace
bitmapFormat:0
bytesPerRow:0
bitsPerPixel:0];
bitmapFormat:NSAlphaNonpremultipliedBitmapFormat
bytesPerRow:width*4
bitsPerPixel:32];
NSImage *image = [[NSImage alloc] initWithSize:NSMakeSize(width, height)];