Implement most stable (?) send click event method

This commit is contained in:
Duy Tran Khanh committed 2021-02-06 09:47:15 +07:00
1 parent 55ed5140aa
commit 5eb77ea17c
2 files changed
+26 -32

No files matched your search

@@ -1149,7 +1149,6 @@ 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);