mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-17 16:47:14 -04:00
Fix[glfw]: add missing function for 23w31a
This commit is contained in:
parent
9f7a580019
commit
6279649747
@ -371,6 +371,15 @@ public class GLFW
|
|||||||
GLFW_COCOA_CHDIR_RESOURCES = 0x51001,
|
GLFW_COCOA_CHDIR_RESOURCES = 0x51001,
|
||||||
GLFW_COCOA_MENUBAR = 0x51002;
|
GLFW_COCOA_MENUBAR = 0x51002;
|
||||||
|
|
||||||
|
/** Hint value for {@link #GLFW_PLATFORM PLATFORM} that enables automatic platform selection. */
|
||||||
|
public static final int
|
||||||
|
GLFW_ANY_PLATFORM = 0x60000,
|
||||||
|
GLFW_PLATFORM_WIN32 = 0x60001,
|
||||||
|
GLFW_PLATFORM_COCOA = 0x60002,
|
||||||
|
GLFW_PLATFORM_WAYLAND = 0x60003,
|
||||||
|
GLFW_PLATFORM_X11 = 0x60004,
|
||||||
|
GLFW_PLATFORM_NULL = 0x60005;
|
||||||
|
|
||||||
/** Don't care value. */
|
/** Don't care value. */
|
||||||
public static final int GLFW_DONT_CARE = -1;
|
public static final int GLFW_DONT_CARE = -1;
|
||||||
|
|
||||||
@ -822,6 +831,10 @@ public class GLFW
|
|||||||
|
|
||||||
public static void glfwInitHint(int hint, int value) { }
|
public static void glfwInitHint(int hint, int value) { }
|
||||||
|
|
||||||
|
public static int glfwGetPlatform() {
|
||||||
|
return GLFW_PLATFORM_X11;
|
||||||
|
}
|
||||||
|
|
||||||
@NativeType("GLFWwindow *")
|
@NativeType("GLFWwindow *")
|
||||||
public static long glfwGetCurrentContext() {
|
public static long glfwGetCurrentContext() {
|
||||||
long __functionAddress = Functions.GetCurrentContext;
|
long __functionAddress = Functions.GetCurrentContext;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user