mirror of
https://github.com/ocornut/imgui.git
synced 2024-11-12 02:00:58 +01:00
OpenGL3 example: fixed mouse handling.
This commit is contained in:
parent
bdb2344db0
commit
6523fb263d
@ -322,6 +322,7 @@ int main(int argc, char** argv)
|
||||
{
|
||||
ImGuiIO& io = ImGui::GetIO();
|
||||
io.MouseWheel = 0;
|
||||
mousePressed[0] = mousePressed[1] = false;
|
||||
glfwPollEvents();
|
||||
UpdateImGui();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user