Don't set native cursor if not supported by the platform
This commit is contained in:
parent
7774c02098
commit
742559fe20
|
@ -275,6 +275,7 @@ public class Mouse {
|
|||
buttonCount = Display.getImplementation().getButtonCount();
|
||||
buttons = BufferUtils.createByteBuffer(buttonCount);
|
||||
coord_buffer = BufferUtils.createIntBuffer(3);
|
||||
if (currentCursor != null)
|
||||
setNativeCursor(currentCursor);
|
||||
setGrabbed(isGrabbed);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue