Fix texture1D usage.