Skip to content

Commit

Permalink
Update SCL from upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
SolDev69 committed Jun 4, 2024
2 parents 9a9f017 + bdc7f33 commit a0af92d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static CustomControls loadAndConvertIfNecessary(String jsonPath) throws I
return layout;
}else if (layoutJobj.getInt("version") >= 3 && layoutJobj.getInt("version") <= 5) {
return LayoutConverter.convertV3_4Layout(layoutJobj);
} else if (layoutJobj.getInt("version") == 6) {
} else if (layoutJobj.getInt("version") == 6 || layoutJobj.getInt("version") == 7) {
return Tools.GLOBAL_GSON.fromJson(jsonLayoutData, CustomControls.class);
} else {
return null;
Expand Down
3 changes: 3 additions & 0 deletions jre_lwjgl3glfw/src/main/java/org/lwjgl/glfw/GLFW.java
Original file line number Diff line number Diff line change
Expand Up @@ -1030,6 +1030,9 @@ public static void glfwGetWindowSize(long window, IntBuffer width, IntBuffer hei
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;
Expand Down

0 comments on commit a0af92d

Please sign in to comment.