diff --git a/sdl/whatever/whatever.c b/sdl/whatever/whatever.c index 0bb2e03..569542a 100644 --- a/sdl/whatever/whatever.c +++ b/sdl/whatever/whatever.c @@ -190,6 +190,9 @@ int init() printf("Unable to init SDL!: %s\n", SDL_GetError()); return 1; } + /*Hide the mouse cursor */ + SDL_ShowCursor(0); + /* create window of size 640x480 and set title bar*/ gScreen = SDL_CreateWindow("SDL TEST", SDL_WINDOWPOS_CENTERED,