Open Hyper157 opened 5 years ago
Could u plz try changing
JImGui gui = JImGui.fromExistingPointer(window);
gui.initBeforeMainLoop();
while (!window.windowShouldClose()) {
glViewport(0, 0, 800, 800);
glClearColor(0, 0, 0, 0);
glClear(GL_COLOR_BUFFER_BIT);
gui.initNewFrame();
gui.text("This is gui");
gui.render();
}
into
JImGui gui = JImGui.fromExistingPointer(window);
gui.initBeforeMainLoop();
while (!glfwWindowShouldClose(window)) {
gui.initNewFrame();
gui.text("This is gui");
gui.render();
}
BTW, OS, your GLFW dependency, please.
Thank you for answering,
tried doing what you told and still crashing :(
OS: Windows 10 GLFW Version: lwjgl-release-3.2.0
Crash log: hs_err_pid8812.log
Some related discussion #12 #13
I was following some discussions about this but I couldn't fix yet
Also tried your example of MultiWindows and it didn't even work, was crashing too
They work on Linux, and at that time I only have Linux device. Now I have Windows, but this week is the final exam week
All good I'll be looking forward for updates, take your time, thank you.
Hi,
I have the same problem. The creation works and I get an Instance of the JimGui Class. The error occurs when I try to execute something like:
imGui.text("Hello, World!");
Its some time ago when you wrote that you now have a Windows machine. I also try it in Windows 10 and GLFW 3.2.1 build 12.
Please have again a look on it. If necessary I could deliver you also some hints.
Thanks in advance.
Hello,
I'm trying to use my own GLFW window to draw Jimgui instead of the default one it creates, however I keep getting errors and crashing, perhaps a bug or wrong usage? Thank you.