whatever: Hide mouse cursor
This commit is contained in:
parent
cbc6417dfd
commit
d08678c8bc
@ -190,6 +190,9 @@ int init()
|
|||||||
printf("Unable to init SDL!: %s\n", SDL_GetError());
|
printf("Unable to init SDL!: %s\n", SDL_GetError());
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
/*Hide the mouse cursor */
|
||||||
|
SDL_ShowCursor(0);
|
||||||
|
|
||||||
/* create window of size 640x480 and set title bar*/
|
/* create window of size 640x480 and set title bar*/
|
||||||
gScreen = SDL_CreateWindow("SDL TEST",
|
gScreen = SDL_CreateWindow("SDL TEST",
|
||||||
SDL_WINDOWPOS_CENTERED,
|
SDL_WINDOWPOS_CENTERED,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user