diff options
Diffstat (limited to 'source/frontend/StarErrorScreen.cpp')
-rw-r--r-- | source/frontend/StarErrorScreen.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/frontend/StarErrorScreen.cpp b/source/frontend/StarErrorScreen.cpp index 872528d..6809d95 100644 --- a/source/frontend/StarErrorScreen.cpp +++ b/source/frontend/StarErrorScreen.cpp @@ -79,7 +79,8 @@ void ErrorScreen::renderCursor() { cursorPos[0] -= cursorOffset[0] * interfaceScale(); cursorPos[1] -= (cursorSize[1] - cursorOffset[1]) * interfaceScale(); - m_guiContext->drawDrawable(m_cursor.drawable(), Vec2F(cursorPos), interfaceScale()); + if (!m_guiContext->trySetCursor(m_cursor.drawable(), cursorOffset, interfaceScale())) + m_guiContext->drawDrawable(m_cursor.drawable(), Vec2F(cursorPos), interfaceScale()); } float ErrorScreen::interfaceScale() const { |