Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
bkaradzic committed Jun 22, 2017
1 parent 4499b51 commit df4f4cb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions examples/30-picking/picking.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
);
Expand Down

0 comments on commit df4f4cb

Please sign in to comment.