OpenGL3 example: fixed mouse handling.

features/sdl_renderer3_multiviewports
omar ago%!(EXTRA string=11 years)
parent bdb2344db0
commit 6523fb263d
  1. 1
      examples/opengl3_example/main.cpp

@ -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…
Cancel
Save