Fixed error with texture formats.