What is the correct usage of glfwSetInputMode

Using GLFW
2014-05-13
2014-05-13
  • Cameron King

    Cameron King - 2014-05-13

    It's not clear to me from the docs what a valid value for the last parameter could be.

    glfwSetInputMode ( mainwindow, GLFW_CURSOR_HIDDEN, 0 );

    The error callback flags up a bad enum here.

    Many thanks.

     
  • Cameron King

    Cameron King - 2014-05-13

    I'm a doofus.

    glfwSetInputMode ( mainwindow, GLFW_CURSOR, GLFW_CURSOR_HIDDEN );

    Thanks.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks