gallium: Notify driver of texture updates in util_blit_pixels().
authorMichel Dänzer <michel@tungstengraphics.com>
Thu, 1 May 2008 16:30:17 +0000 (17:30 +0100)
committerMichel Dänzer <michel@tungstengraphics.com>
Thu, 1 May 2008 16:30:17 +0000 (17:30 +0100)
src/gallium/auxiliary/util/u_blit.c

index 9e9912c6e4679f211d0f0e4d34c0d9caa800c1e9..568d62ced190bf2dc48e39d86079f33902b6f922 100644 (file)
@@ -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);