1
0
mirror of https://github.com/ocornut/imgui.git synced 2024-11-24 07:40:22 +01:00

OpenGL3 example: unregistered mouse callback for mouse click-release faster than frame interval.

This commit is contained in:
ocornut 2014-12-06 20:43:08 +00:00
parent e43cd6e97f
commit 036ed3ea93

View File

@ -169,6 +169,7 @@ void InitGL()
window = glfwCreateWindow(1280, 720, "ImGui OpenGL example", NULL, NULL);
glfwMakeContextCurrent(window);
glfwSetKeyCallback(window, glfw_key_callback);
glfwSetMouseButtonCallback(window, glfw_mouse_button_callback);
glfwSetScrollCallback(window, glfw_scroll_callback);
glfwSetCharCallback(window, glfw_char_callback);