Bugfixes: F5 scaling modes, rendering artifacts, theme text

Fixes:
1. F5 ahora cicla correctamente entre 3 modos de escalado:
   - INTEGER: Escalado entero con barras negras (píxel perfecto)
   - LETTERBOX: Zoom hasta llenar una dimensión
   - STRETCH: Estirar pantalla completa

2. Artefactos de renderizado en barras negras resueltos:
   - SDL_RenderClear() ahora usa color negro
   - Barras letterbox/integer se muestran negras correctamente

3. Texto duplicado de tema resuelto:
   - Durante LERP, verifica tema actual Y destino
   - Evita mostrar segunda línea si text_ es nombre de tema

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-10-04 09:04:40 +02:00
parent 59c5ebe9be
commit af3274e9bc
3 changed files with 58 additions and 10 deletions

View File

@@ -61,7 +61,7 @@ private:
std::string vsync_text_ = "VSYNC ON";
bool fullscreen_enabled_ = false;
bool real_fullscreen_enabled_ = false;
bool integer_scaling_enabled_ = true; // Escalado entero (mantiene aspecto) por defecto
ScalingMode current_scaling_mode_ = ScalingMode::INTEGER; // Modo de escalado actual (F5)
// Auto-restart system
Uint64 all_balls_stopped_start_time_ = 0; // Momento cuando todas se pararon