struct pipe_texture *textures[2];
textures[0] = pt;
textures[1] = st->pixel_xfer.pixelmap_texture;
- pipe->set_fragment_sampler_textures(pipe, 2, textures);
+ cso_set_sampler_textures(cso, 2, textures);
}
else {
- pipe->set_fragment_sampler_textures(pipe, 1, &pt);
+ cso_set_sampler_textures(cso, 1, &pt);
}
/* Compute window coords (y=0=bottom) with pixel zoom.