diff --git a/source/common/screen.cpp b/source/common/screen.cpp index 16f0011..355e25a 100644 --- a/source/common/screen.cpp +++ b/source/common/screen.cpp @@ -84,6 +84,8 @@ void Screen::blit() // Establece el modo de video void Screen::setVideoMode(int videoMode) { + SDL_ShowCursor(SDL_ENABLE); + // Aplica el modo de video SDL_SetWindowFullscreen(window, videoMode); @@ -112,6 +114,8 @@ void Screen::setVideoMode(int videoMode) // Si está activo el modo de pantalla completa añade el borde else if (videoMode == SDL_WINDOW_FULLSCREEN_DESKTOP) { + SDL_ShowCursor(SDL_DISABLE); + // Obten el alto y el ancho de la ventana SDL_GetWindowSize(window, &windowWidth, &windowHeight);