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:
parent
e43cd6e97f
commit
036ed3ea93
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user