Oculta el puntero del raton al compilar en modo ARCADE
This commit is contained in:
1 parent
1b160c0584
commit
f5b866b8c5
1 file changed
+5
@@ -146,8 +146,13 @@ void Screen::setVideoMode(int videoMode)
|
||||
// Aplica el modo de video
|
||||
SDL_SetWindowFullscreen(window, 0);
|
||||
|
||||
#ifdef ARCADE
|
||||
// Oculta el puntero
|
||||
SDL_ShowCursor(SDL_DISABLE);
|
||||
#else
|
||||
// Muestra el puntero
|
||||
SDL_ShowCursor(SDL_ENABLE);
|
||||
#endif
|
||||
|
||||
windowWidth = gameCanvasWidth;
|
||||
windowHeight = gameCanvasHeight;
|
||||
|
||||
Reference in new issue
Block a user