Stills fixing LWJGLX window stuff
Attempt to get 1.13.2 and below works.
This commit is contained in:
1 parent
3e425bbc36
commit
58d7216894
2 files changed
+9
-3
No files matched your search
@@ -635,7 +635,13 @@ public class GLFW
|
||||
public static GLFWWindowProperties internalGetWindow(long window) {
|
||||
GLFWWindowProperties win = mGLFWWindowMap.get(window);
|
||||
if (win == null) {
|
||||
throw new IllegalArgumentException("No window pointer found: " + window);
|
||||
System.err.println("GLFW: No window pointer found: " + window);
|
||||
win = mGLFWWindowMap.get(mainContext);
|
||||
// throw new IllegalArgumentException("No window pointer found: " + window);
|
||||
}
|
||||
if (win == null) {
|
||||
System.err.println("GLFW: Stills no window pointer found: " + window);
|
||||
win = mGLFWWindowMap.valueAt(0);
|
||||
}
|
||||
return win;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user