mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-07 07:24:20 +00:00
Converted Cursor and Pbuffer handles to ByteBuffers
This commit is contained in:
parent
efb28a1a85
commit
bdf5a43d5e
9 changed files with 131 additions and 94 deletions
|
|
@ -200,14 +200,14 @@ public class Mouse {
|
|||
nSetNativeCursor(currentCursor.getHandle());
|
||||
currentCursor.setTimeout();
|
||||
} else {
|
||||
nSetNativeCursor(0);
|
||||
nSetNativeCursor(null);
|
||||
}
|
||||
}
|
||||
return oldCursor;
|
||||
}
|
||||
|
||||
/** Native method to set the native cursor */
|
||||
private static native void nSetNativeCursor(long handle) throws LWJGLException;
|
||||
private static native void nSetNativeCursor(ByteBuffer handle) throws LWJGLException;
|
||||
|
||||
/**
|
||||
* Gets the minimum size of a native cursor. Can only be called if
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue