fixing typo in texture loads