st: Update for renamed sampler/texture state setters.

This commit is contained in:
Michal Krol
2009-12-01 08:44:18 +01:00
parent eeb8dd12b4
commit e197652ce0
+2 -2
View File
@@ -585,10 +585,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_sampler_textures(pipe, 2, textures);
pipe->set_fragment_sampler_textures(pipe, 2, textures);
}
else {
pipe->set_sampler_textures(pipe, 1, &pt);
pipe->set_fragment_sampler_textures(pipe, 1, &pt);
}
/* Compute window coords (y=0=bottom) with pixel zoom.