From: Michel Dänzer Date: Thu, 1 May 2008 16:30:17 +0000 (+0100) Subject: gallium: Notify driver of texture updates in util_blit_pixels(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f1f52a8be98efa26c7c9bc480a2483fc2106d654;p=mesa.git gallium: Notify driver of texture updates in util_blit_pixels(). --- diff --git a/src/gallium/auxiliary/util/u_blit.c b/src/gallium/auxiliary/util/u_blit.c index 9e9912c6e46..568d62ced19 100644 --- a/src/gallium/auxiliary/util/u_blit.c +++ b/src/gallium/auxiliary/util/u_blit.c @@ -295,6 +295,8 @@ util_blit_pixels(struct blit_state *ctx, src, srcLeft, srcTop, /* src */ srcW, srcH); /* size */ + pipe->texture_update(pipe, tex, 0, 1 << 0); + /* save state (restored below) */ cso_save_blend(ctx->cso); cso_save_depth_stencil_alpha(ctx->cso);