Fix example class destruction
This commit is contained in:
1 parent
4d00f348a3
commit
a58ff6fc87
1 file changed
+1
-1
@@ -50,7 +50,7 @@ public final class ImGuiGlfwExample {
|
|||||||
private final double[] mousePosY = new double[1];
|
private final double[] mousePosY = new double[1];
|
||||||
|
|
||||||
// Mouse cursors provided by GLFW
|
// Mouse cursors provided by GLFW
|
||||||
private final long[] mouseCursors = new long[ImGuiMouseCursor.COUNT];
|
private final long[] mouseCursors = new long[ImGuiMouseCursor.COUNT - 1]; // Minus 1, because GLFW 3.4 doesn't provide GLFW_NOT_ALLOWED_CURSOR
|
||||||
|
|
||||||
// LWJGL3 rendered itself (SHOULD be initialized)
|
// LWJGL3 rendered itself (SHOULD be initialized)
|
||||||
private final ImGuiImplGl3 imGuiGl3 = new ImGuiImplGl3();
|
private final ImGuiImplGl3 imGuiGl3 = new ImGuiImplGl3();
|
||||||
|
|||||||
Reference in new issue
Block a user