From 34b1a4649ef40aeb8088d1935f6d368892148e83 Mon Sep 17 00:00:00 2001 From: Nick Gasson Date: Sun, 8 Jun 2008 18:18:34 +0100 Subject: [PATCH] Always hide the cursor --- src/OpenGL.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/OpenGL.cpp b/src/OpenGL.cpp index 3713b26..6454575 100644 --- a/src/OpenGL.cpp +++ b/src/OpenGL.cpp @@ -68,8 +68,7 @@ void OpenGL::Init(int width, int height, int depth, bool fullscreen) SDL_WM_SetCaption(WINDOW_TITLE, NULL); - if (fullscreen) - SDL_ShowCursor(0); + SDL_ShowCursor(SDL_DISABLE); ResizeGLScene(screen_width, screen_height); -- 2.39.2