You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In older versions of CImGui I could customize the Renderer.jl file to set my own rendering rules, in particular i used glfwWaitEvents instead of glfwPollEvents to optimize event handling. How can I set this option in the new version, where renderloop function from GlfwOpenGLBackend extension uses GLFW.PollEvents by default?
There is no way to customize it right now, but we could just add an option to use WaitEvents() instead of PollEvents() (feel free to open a PR for it). Though if you've customized your renderer a lot then it might be best to keep using it, I don't think there's any restrictions in CImGui.jl about how a context is used in a renderloop. There is built-in support for ImGuiTestEngine.jl but that wouldn't be hard to add to a custom renderloop.
Hello!
In older versions of CImGui I could customize the Renderer.jl file to set my own rendering rules, in particular i used
glfwWaitEvents
instead ofglfwPollEvents
to optimize event handling. How can I set this option in the new version, where renderloop function from GlfwOpenGLBackend extension usesGLFW.PollEvents
by default?CImGui.jl/ext/GlfwOpenGLBackend.jl
Lines 99 to 100 in b6ca5b3
The text was updated successfully, but these errors were encountered: