Window does not close through code
zeeshan595 opened this issue · 6 comments
Should be fixed in 0.5.9
, could you check if it's working now?
Just updated to 0.5.9 and still the same issue. Could we expose glfwDestroyWindow?
the window stay's open for me until the process is finished.
What platform are you testing? I just ran your script above successfully on at least Windows
Linux - Latest version of Manjaro
Actually this might be glfw being weird. I will check to see if they have a issue for this. If i run the code below it only output's 'key pressed' once and then never triggers again. but if i remove win.close(); then it works properly and repeats every time a key is down
I am thinking for some strange reason the UI of the window does not get removed but the window is destroyed.
Never mind, I was being an idiot. This issue is resolved and it is working properly. Apparently if you keep polling events it keep's showing the window :D