Debug glfwSetInputMode

This commit is contained in:
Duy Tran Khanh committed 2021-02-06 08:23:11 +07:00
1 parent 91a3d6eb97
commit 7521010b7e
1 file changed
+1
@@ -1149,6 +1149,7 @@ public class GLFW
public static void glfwSetInputMode(@NativeType("GLFWwindow *") long window, int mode, int value) {
if (mode == GLFW_CURSOR) {
System.out.println("GLFW: glfwSetInputMode(GLFW_CURSOR, " + value + ")");
switch (value) {
case GLFW_CURSOR_DISABLED:
CallbackBridge.sendGrabbing(true, (int) mGLFWCursorX, (int) mGLFWCursorY);