diff options
author | Michel Dänzer <[email protected]> | 2008-04-25 10:34:20 +0100 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2008-04-25 10:34:20 +0100 |
commit | d7b523b46b833fd08c70850d7a6cc7b6fd714a8e (patch) | |
tree | 81708a984976c17b6e6f5cdc7709d45cd46e66aa /src/mesa | |
parent | b06cd4debfc4fb4162b4b45e61ea91948de0a279 (diff) |
gallium: Tell the driver the texture is updated when we finish rendering to it.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_cb_fbo.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_fbo.c b/src/mesa/state_tracker/st_cb_fbo.c index b73867bb729..69dde56e557 100644 --- a/src/mesa/state_tracker/st_cb_fbo.c +++ b/src/mesa/state_tracker/st_cb_fbo.c @@ -400,6 +400,10 @@ st_finish_render_texture(GLcontext *ctx, ctx->st->pipe->flush(ctx->st->pipe, PIPE_FLUSH_RENDER_CACHE, NULL); + ctx->st->pipe->texture_update(ctx->st->pipe, + st_get_texobj_texture(att->Texture), + att->CubeMapFace, 1 << att->TextureLevel); + /* printf("FINISH RENDER TO TEXTURE surf=%p\n", strb->surface); */ |