Merge branch 'master' into gallium-sampler-view
[mesa.git] / src / mesa / state_tracker / st_cb_drawpixels.c
index c609435a158a1600d6f3a35fd69b3f6730d5bd57..d542c996d071099931cdaa62635ee61f3382ecea 100644 (file)
@@ -589,10 +589,10 @@ draw_textured_quad(GLcontext *ctx, GLint x, GLint y, GLfloat z,
       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.