Makefile: fix path
Moved GameSurfaceView to a separate class
Renamed MinecraftDownloader to MinecraftResourceUtils

Fix: Some versions fails because GLFW_CLIENT_API is not set
This commit is contained in:
Duy Tran Khanh committed 2022-07-01 07:02:25 +07:00
1 parent 12ebf2686a
commit ee2c68fb98
15 files changed
+191 -173

No files matched your search

@@ -997,7 +997,9 @@ public class GLFW
nglfwSetShowingWindow(mGLFWWindowMap.size() == 0 ? 0 : mGLFWWindowMap.keyAt(mGLFWWindowMap.size() - 1));
}
public static void glfwDefaultWindowHints() {}
public static void glfwDefaultWindowHints() {
glfwWindowHint(GLFW_CLIENT_API, GLFW_OPENGL_API);
}
public static void glfwGetWindowSize(long window, IntBuffer width, IntBuffer height) {
if (width != null) width.put(internalGetWindow(window).width);