fix: el cursor del mouse no està amagat per defecte

This commit is contained in:
2025-03-07 22:44:53 +01:00
parent 9cf0891a04
commit b885aa8c9e
2 changed files with 4 additions and 2 deletions

View File

@@ -7,6 +7,7 @@
#include <SDL2/SDL_hints.h> // for SDL_SetHint, SDL_HINT_RENDER_DR...
#include <SDL2/SDL_scancode.h> // for SDL_SCANCODE_A, SDL_SCANCODE_ES...
#include <SDL2/SDL_stdinc.h> // for Uint32
#include <SDL2/SDL_mouse.h> // Para SDL_ShowCursor
#include <SDL2/SDL_timer.h> // for SDL_GetTicks
#include <errno.h> // for errno, EEXIST, EACCES, ENAMETOO...
#include <stdio.h> // for printf, perror
@@ -83,6 +84,7 @@ Director::Director(int argc, const char *argv[])
initInput();
Debug::init();
Cheevos::init(Asset::get()->get("cheevos.bin"));
SDL_ShowCursor(SDL_DISABLE);
}
Director::~Director()