diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-08-13 15:20:08 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-08-13 15:20:08 -0600 |
commit | 8cc668a4a8d67af21af6883e18fe7423f28999f9 (patch) | |
tree | df204f469de37abc4a013602a67f164ff2d85599 /src/mesa/state_tracker/st_cb_drawpixels.c | |
parent | c271078048770a31028836eda684a6dbffc13cf5 (diff) |
fix some issues with texture/mipmap_tree state tracking
Diffstat (limited to 'src/mesa/state_tracker/st_cb_drawpixels.c')
-rw-r--r-- | src/mesa/state_tracker/st_cb_drawpixels.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_cb_drawpixels.c b/src/mesa/state_tracker/st_cb_drawpixels.c index cdb9ebc3ff..7a89e853ee 100644 --- a/src/mesa/state_tracker/st_cb_drawpixels.c +++ b/src/mesa/state_tracker/st_cb_drawpixels.c @@ -315,8 +315,8 @@ draw_textured_quad(GLcontext *ctx, GLint x, GLint y, GLfloat z, /* restore GL state */ pipe->set_setup_state(pipe, &ctx->st->state.setup); pipe->set_fs_state(pipe, &ctx->st->state.fs); - /* XXX FIX: pipe->set_texture_state(pipe, unit, ???); */ - pipe->set_sampler_state(pipe, unit, &ctx->st->state.sampler[0]); + pipe->set_texture_state(pipe, unit, ctx->st->state.texture[unit]); + pipe->set_sampler_state(pipe, unit, &ctx->st->state.sampler[unit]); free_mipmap_tree(pipe, mt); } |