diff --git a/source/jdraw.cpp b/source/jdraw.cpp index 12ac807..5c2d10b 100644 --- a/source/jdraw.cpp +++ b/source/jdraw.cpp @@ -95,6 +95,7 @@ namespace draw if (screen_fullscreen) { + SDL_ShowCursor(false); int w, h; SDL_GetWindowSize(sdl_window, &w, &h); fullscreen_scale = h/screen_height; @@ -105,6 +106,7 @@ namespace draw } else { + SDL_ShowCursor(true); dest_rect.x = dest_rect.y = 0; dest_rect.w = screen_width * zoom; dest_rect.h = screen_height * zoom; @@ -175,6 +177,7 @@ namespace draw if (screen_fullscreen) { + SDL_ShowCursor(false); int w, h; SDL_GetWindowSize(sdl_window, &w, &h); fullscreen_scale = h/screen_height; @@ -185,6 +188,7 @@ namespace draw } else { + SDL_ShowCursor(true); dest_rect.x = dest_rect.y = 0; dest_rect.w = screen_width * zoom; dest_rect.h = screen_height * zoom;