summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2008-05-01 17:30:17 +0100
committerMichel Dänzer <michel@tungstengraphics.com>2008-05-01 17:30:17 +0100
commitf1f52a8be98efa26c7c9bc480a2483fc2106d654 (patch)
tree44e5b746d635be748bb2e3c6172d44e596a10fbe /src/gallium/auxiliary/util
parent419f3c447520d1dc95c529afa693ffe3fffe5560 (diff)
gallium: Notify driver of texture updates in util_blit_pixels().
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r--src/gallium/auxiliary/util/u_blit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_blit.c b/src/gallium/auxiliary/util/u_blit.c
index 9e9912c6e4..568d62ced1 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);