Llevada tota la merda que he posat este mati

This commit is contained in:
2024-09-10 13:23:47 +02:00
parent c93e824f86
commit 1e2f121d82
2 changed files with 6 additions and 6 deletions

View File

@@ -141,8 +141,8 @@ void Screen::blit()
void Screen::setVideoMode(int videoMode)
{
#ifdef ARCADE
// videoMode = SCREEN_VIDEO_MODE_WINDOW;
videoMode = SCREEN_VIDEO_MODE_FULLSCREEN;
videoMode = SCREEN_VIDEO_MODE_WINDOW;
//videoMode = SCREEN_VIDEO_MODE_FULLSCREEN;
#endif
// Si está activo el modo ventana quita el borde
@@ -174,7 +174,7 @@ void Screen::setVideoMode(int videoMode)
// Aplica el modo de video
SDL_SetWindowFullscreen(window, SDL_WINDOW_FULLSCREEN_DESKTOP);
#ifdef ARCADE
SDL_DisplayMode DM;
/*SDL_DisplayMode DM;
DM.w = 1024;
DM.h = 600;
DM.refresh_rate = 60;
@@ -185,7 +185,7 @@ void Screen::setVideoMode(int videoMode)
else
{
std::cout << "Changed windows display mode" << std::endl;
}
}*/
#endif
// Oculta el puntero