fixed texture loader