Skip to content

Commit

Permalink
Fix error.
Browse files Browse the repository at this point in the history
  • Loading branch information
mooflu committed Sep 23, 2024
1 parent 16f8d79 commit 2d603c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion game/Video.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ bool Video::setVideoMode(void) {
// don't grab mouse when windowed and in menu so it's possible to move the window
bool grabMouse = _isFullscreen || GameState::context != Context::eMenu;
SDL_SetRelativeMouseMode(grabMouse ? SDL_TRUE : SDL_FALSE);
SDL_ShowCursor(FALSE);
SDL_ShowCursor(SDL_FALSE);
#else
// SDL_SetRelativeMouseMode used to only work on Mac
SDL_ShowCursor(SDL_DISABLE);
Expand Down

0 comments on commit 2d603c6

Please sign in to comment.