From 3f127b5444c9fa984b9a539ce878a6ea0ea1e653 Mon Sep 17 00:00:00 2001 From: Raimon Zamora Date: Thu, 10 Oct 2024 17:28:46 +0200 Subject: [PATCH] =?UTF-8?q?-=20[FIX]=20En=20pantalla=20completa=20se=20ve?= =?UTF-8?q?=C3=AFa=20el=20cursor,=20ara=20ja=20no?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/jdraw.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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;