OpenGL3 example: fixed mouse handling.

docking
omar 10 years ago
parent bdb2344db0
commit 6523fb263d

@ -322,6 +322,7 @@ int main(int argc, char** argv)
{ {
ImGuiIO& io = ImGui::GetIO(); ImGuiIO& io = ImGui::GetIO();
io.MouseWheel = 0; io.MouseWheel = 0;
mousePressed[0] = mousePressed[1] = false;
glfwPollEvents(); glfwPollEvents();
UpdateImGui(); UpdateImGui();

Loading…
Cancel
Save