Optimized texture loading speed, courtesy of Alain Bailleul (16.6429ms to 5.4286ms).