ja pinta el logo en tamany 1:1

moguda la logica del main a la classe Logo
This commit is contained in:
2025-04-07 11:55:09 +02:00
parent 149a8216bc
commit a40c9a899b
6 changed files with 112 additions and 69 deletions

View File

@@ -50,6 +50,7 @@ Screen::Screen()
std::cerr << "Error: game_texture_ could not be created!\nSDL Error: " << SDL_GetError() << std::endl;
}
}
SDL_SetTextureScaleMode(game_texture_, options.video.scale_mode);
// Crea la surface donde se dibujan los graficos del juego
game_surface_ = std::make_shared<Surface>(options.game.width, options.game.height);