mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Hide mouse cursor in game window
This commit is contained in:
parent
cb3640e505
commit
146cdde217
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ int main(int argc, char *argv[])
|
||||||
SDL_INIT_JOYSTICK |
|
SDL_INIT_JOYSTICK |
|
||||||
SDL_INIT_GAMECONTROLLER
|
SDL_INIT_GAMECONTROLLER
|
||||||
);
|
);
|
||||||
|
SDL_ShowCursor(SDL_DISABLE);
|
||||||
|
|
||||||
if (argc > 2 && strcmp(argv[1], "-renderer") == 0)
|
if (argc > 2 && strcmp(argv[1], "-renderer") == 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue