Fixing compile errors

This commit is contained in:
Duy Tran Khanh committed 2021-02-02 07:05:57 +07:00
1 parent 41caff9de4
commit 2c38af09e6
2 files changed
+13 -13

No files matched your search

@@ -49,8 +49,8 @@ public class CallbackBridge {
private static void nativeSendCursorPos(int x, int y) {
if (!inputReady) return;
GLFW.mGLFWCursorX = x + GLFW.internalGetWindow(window).x;
GLFW.mGLFWCursorY = y + GLFW.internalGetWindow(window).y;
GLFW.mGLFWCursorX = x + GLFW.internalGetWindow(GLFW.mainContext).x;
GLFW.mGLFWCursorY = y + GLFW.internalGetWindow(GLFW.mainContext).y;
}
private static void nativeSendKeycode(int keycode, char keychar, int scancode, int action, int mods) {
if (!inputReady) return;