-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
Closed
Description
(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 :
diff --git a/examples/example_glfw_opengl2/main.cpp b/examples/example_glfw_opengl2/main.cpp
index a50b4637..f8b19ced 100644
--- a/examples/example_glfw_opengl2/main.cpp
+++ b/examples/example_glfw_opengl2/main.cpp
@@ -82,7 +82,8 @@ int main(int, char**)
// - When io.WantCaptureMouse is true, do not dispatch mouse input data to your main application.
// - When io.WantCaptureKeyboard is true, do not dispatch keyboard input data to your main application.
// Generally you may always pass all inputs to dear imgui, and hide them from your application based on those two flags.
- glfwPollEvents();
+ //glfwPollEvents();
+ glfwWaitEvents();
// Start the Dear ImGui frame
ImGui_ImplOpenGL2_NewFrame();
some widgets doesn't update correctly :
- "Popups & Modal windows" -> "Popups" -> "Select..." => the popup only displays if the mouse if moved (seems to be the same for all popups windows)
- drag and drop doesn't seems to work
Metadata
Metadata
Assignees
Labels
No labels