From 6523fb263dae6368372a1bd905047750198f30aa Mon Sep 17 00:00:00 2001 From: omar Date: Mon, 8 Dec 2014 17:15:08 +0000 Subject: [PATCH] OpenGL3 example: fixed mouse handling. --- examples/opengl3_example/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/opengl3_example/main.cpp b/examples/opengl3_example/main.cpp index 2ab11b08..234940ba 100644 --- a/examples/opengl3_example/main.cpp +++ b/examples/opengl3_example/main.cpp @@ -322,6 +322,7 @@ int main(int argc, char** argv) { ImGuiIO& io = ImGui::GetIO(); io.MouseWheel = 0; + mousePressed[0] = mousePressed[1] = false; glfwPollEvents(); UpdateImGui();