fixed texture access