-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
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
use of glfwWaitEvents instead of glfwPollEvents in example leads to misdrawings #3220
Comments
Hello, Well, you are not refreshing your app and saying "my app isn't refreshing", that's expected? ;) Preamble: I cannot repro, naively switching to Assuming your intent is to implement a "power saving" mode,
Both #2749 and #3124 are full fledged attempt that adding standardized handling for this that would also support animation requests (such as blinking cursors). In particular #2749 is probably quite close to the ideal solution but haven't had time to review it. |
yes, that's my aim, I don't want to have anything recomputed if not needed, so my goal was
|
Hello, the linked thread are offering solutions similar to what you describe. As such, feel free to use them or experience with them, some of it being doable without modifying core dear imgui. Right now none of them is unfortunately merged but down the line we'll have something like that in the library (no ETA). |
#2749 does fix this issue |
Good to hear! |
(you may also go to Demo>About Window, and click "Config/Build Information" to obtain a bunch of detailed information that you can paste here)
Version/Branch of Dear ImGui:
Branch: master
glFW3/opengl2/gcc 7-5-0/linux
My Issue/Question:
in imgui/examples/example_glfw_opengl2/main.cpp if I perform the following changes :
some widgets doesn't update correctly :
The text was updated successfully, but these errors were encountered: