AMD loading fix.

Fixed up texture loading problem on AMD GPU's causing massive load times.