Fixed up texture codes