From: Michal Krol Date: Mon, 15 Mar 2010 14:03:44 +0000 (+0100) Subject: st/mesa: Pass in correct sampler view object to blitter. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6b60820fde8596966b1ffdb5d008e94773b2f321;p=mesa.git st/mesa: Pass in correct sampler view object to blitter. --- 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,