首页 文章
  • 0 votes
     answers
     views

    GLFW鼠标无法在Ubuntu Unity上运行

    我在glfw中有小问题; / . 它在Windows和Ubuntu Gnome3上工作,但它不适用于Ubuntu Unity . 我的鼠标代码(我在游戏中使用它来旋转相机): glfwDisable(GLFW_MOUSE_CURSOR); int xpos, ypos; int w,h; glfwGetMousePos(&xpos, &ypos); // ...

热门问题