Workaround: ignore jna and stub new function

Fix a check on replacing JNA, add a missing function.
These are sufficient for 1.21-pre1 for now as it's requiring LWJGL
3.3.3, which will be updated later.
This commit is contained in:
khanhduytran0 committed 2024-05-31 13:26:31 +07:00
1 parent b2aa432848
commit 879f852277
2 files changed
+8 -2

No files matched your search

@@ -1007,6 +1007,9 @@ public class GLFW
if (height != null) height.put(internalGetWindow(window).height);
}
public static void glfwSetWindowSizeLimits(@NativeType("GLFWwindow *") long window, int minwidth, int minheight, int maxwidth, int maxheight) {
}
public static void glfwSetWindowPos(long window, int x, int y) {
internalGetWindow(window).x = x;
internalGetWindow(window).y = y;