Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Make subsequent window creation possible #1827
I'm the author of the Java binding of dear-imgui, and I want to do GUI tests (say, running some GUI windows on a non-headless machine and automatically stop after a few seconds).
(假设 == assume, 失败 == failed)
After some debugging I found that when I initialize glfw the second time,
io.DeltaTime = g_Time > 0.0 ? (float)(current_time - g_Time) : (float)(1.0f/60.0f)
added a commit
this pull request
May 21, 2018
@ice1000 I have merged the change of reseting time (and applied it to the GLFW+Vulkan example). Thanks!
I took the liberty to squash the commits and remove the addition of