From df4f4cb3b05cf56bc6970a7820646b242526ba14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Wed, 21 Jun 2017 22:00:07 -0700 Subject: [PATCH] Cleanup. --- examples/30-picking/picking.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/30-picking/picking.cpp b/examples/30-picking/picking.cpp index dab2717d5..2747e793b 100644 --- a/examples/30-picking/picking.cpp +++ b/examples/30-picking/picking.cpp @@ -357,12 +357,13 @@ class ExamplePicking : public entry::AppI } // Draw UI - imguiBeginFrame(m_mouseState.m_mx - , m_mouseState.m_my + imguiBeginFrame( + m_mouseState.m_mx + , m_mouseState.m_my , (m_mouseState.m_buttons[entry::MouseButton::Left] ? IMGUI_MBUT_LEFT : 0) | (m_mouseState.m_buttons[entry::MouseButton::Right] ? IMGUI_MBUT_RIGHT : 0) | (m_mouseState.m_buttons[entry::MouseButton::Middle] ? IMGUI_MBUT_MIDDLE : 0) - , m_mouseState.m_mz + , m_mouseState.m_mz , uint16_t(m_width) , uint16_t(m_height) );