summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_cb_accum.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-05-25 18:16:03 -0600
committerBrian Paul <[email protected]>2011-05-25 18:16:03 -0600
commit3e06803c2c6cf83009708b23d3ebafc0ea3dc525 (patch)
tree1f00cf7aa484681344cb0c1e667d4b43ceca3405 /src/mesa/state_tracker/st_cb_accum.c
parentbf14ab417c6638afd19206e11ee69bdb9fb93d9e (diff)
st/mesa: simplify some st_context(ctx)->pipe code
Diffstat (limited to 'src/mesa/state_tracker/st_cb_accum.c')
-rw-r--r--src/mesa/state_tracker/st_cb_accum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_accum.c b/src/mesa/state_tracker/st_cb_accum.c
index 3e01c440bda..3e3659d1571 100644
--- a/src/mesa/state_tracker/st_cb_accum.c
+++ b/src/mesa/state_tracker/st_cb_accum.c
@@ -248,7 +248,7 @@ accum_return(struct gl_context *ctx, GLfloat value,
else
usage = PIPE_TRANSFER_WRITE;
- color_trans = pipe_get_transfer(st_context(ctx)->pipe,
+ color_trans = pipe_get_transfer(pipe,
color_strb->texture, 0, 0,
usage,
xpos, ypos,