Ara --custom-balls N --skip-benchmark (o --max-balls N) inclou el custom escenari en la rotació automàtica de DEMO/DEMO_LITE

This commit is contained in:
2026-03-12 22:35:10 +01:00
parent 7db9e46f95
commit 02fdcd4113

View File

@@ -299,6 +299,8 @@ bool Engine::initialize(int width, int height, int zoom, bool fullscreen, AppMod
// Benchmark de rendimiento (determina max_auto_scenario_ para modos automáticos) // Benchmark de rendimiento (determina max_auto_scenario_ para modos automáticos)
if (!skip_benchmark_) if (!skip_benchmark_)
runPerformanceBenchmark(); runPerformanceBenchmark();
else if (custom_scenario_enabled_)
custom_auto_available_ = true; // benchmark omitido: confiar en que el hardware lo soporta
// Precalentar caché: shapes PNG (evitar I/O en primera activación de PNG_SHAPE) // Precalentar caché: shapes PNG (evitar I/O en primera activación de PNG_SHAPE)
{ {