Hide mouse cursor in game window

This commit is contained in:
Moonchild 2020-01-10 15:21:55 -07:00 committed by Ethan Lee
parent cb3640e505
commit 146cdde217
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ int main(int argc, char *argv[])
SDL_INIT_JOYSTICK |
SDL_INIT_GAMECONTROLLER
);
SDL_ShowCursor(SDL_DISABLE);
if (argc > 2 && strcmp(argv[1], "-renderer") == 0)
{