mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-04 12:08:47 +02:00
OpenGL3 example: fixed mouse handling.
This commit is contained in:
@ -322,6 +322,7 @@ int main(int argc, char** argv)
|
||||
{
|
||||
ImGuiIO& io = ImGui::GetIO();
|
||||
io.MouseWheel = 0;
|
||||
mousePressed[0] = mousePressed[1] = false;
|
||||
glfwPollEvents();
|
||||
UpdateImGui();
|
||||
|
||||
|
Reference in New Issue
Block a user