-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fromExistingPointer #18
Comments
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 Crash log: |
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. |
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: 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.
The text was updated successfully, but these errors were encountered: