summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2010-03-15 15:03:44 +0100
committerMichal Krol <[email protected]>2010-03-15 15:03:44 +0100
commit6b60820fde8596966b1ffdb5d008e94773b2f321 (patch)
treecc207f32751982508d0a9bf64ad6e19244116fda
parentdf65fc8100f267b3167012d4f8502cf9eed526df (diff)
st/mesa: Pass in correct sampler view object to blitter.
-rw-r--r--src/mesa/state_tracker/st_cb_texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c
index 7fcd1e9ca74..0c518a7e031 100644
--- a/src/mesa/state_tracker/st_cb_texture.c
+++ b/src/mesa/state_tracker/st_cb_texture.c
@@ -1598,7 +1598,7 @@ st_copy_texsubimage(GLcontext *ctx,
}
util_blit_pixels_writemask(ctx->st->blit,
strb->surface,
- st_get_stobj_sampler_view(stObj),
+ st_renderbuffer_get_sampler_view(strb, pipe),
srcX, srcY0,
srcX + width, srcY1,
dest_surface,