Hello Guest

Error creating standard cursor

  • 1 Replies
Error creating standard cursor
« on: July 20, 2018, 23:29:37 »
Hello, I am trying to use the method GLFW#glfwCreateStandardCursor(Shape)

When running this code:
Code: [Select]
long value = GLFW.glfwCreateStandardCursor(GLFW.GLFW_CURSOR_NORMAL);
I am met with this error:
Code: [Select]
Description : Invalid standard cursor 0x00034001
Stacktrace  :

It's not really too vital, as it's only a one-time error. Nothing breaks.
However the error only comes once. Calling the code again will not produce it.


Online spasi

  • *****
  • 2010
    • WebHotelier
Re: Error creating standard cursor
« Reply #1 on: Today at 06:03:37 »
GLFW_CURSOR_NORMAL is not a valid argument, it is used in glfwSetInputMode only. You can find the supported cursor shapes here or in the javadoc for glfwCreateStandardCursor.