This commit is contained in:
Branimir Karadžić 2017-06-21 22:00:07 -07:00
parent 4499b51170
commit df4f4cb3b0
1 changed files with 4 additions and 3 deletions

View File

@ -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)
);