Fix: eliminar carga doble de texturas en inicialización

Problema: Cada textura se cargaba DOS veces:
1. Primera carga temporal para obtener dimensiones (width)
2. Segunda carga real para almacenar en textures_

Solución: Reutilizar la textura cargada en lugar de crear nueva.
- TextureInfo ahora guarda shared_ptr<Texture> en lugar de solo path
- Se ordena por tamaño usando la textura ya cargada
- Se almacena directamente en textures_ sin recargar

Resultado: 4 cargas → 4 cargas (sin duplicados)

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-10-05 09:25:10 +02:00
parent 577fe843f9
commit c9db7e6038
2 changed files with 8 additions and 8 deletions

Binary file not shown.