From d08678c8bc4a339fea55ede5e3abf399c1eb403e Mon Sep 17 00:00:00 2001 From: Logen Kain Date: Fri, 18 Nov 2016 19:17:53 -0700 Subject: [PATCH] whatever: Hide mouse cursor --- sdl/whatever/whatever.c | 3 +++ 1 file changed, 3 insertions(+) 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,