summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-05-07 19:27:30 +0100
committerKeith Whitwell <[email protected]>2009-05-08 14:57:30 +0100
commit507f4e7a7448fb246febefe8819b7b3ac70a35b4 (patch)
tree1ab157826958ffdbdb6fc54223eb089ebae6c92d /src
parent44a996b185c446eab7038a10153db7e7496bf2c9 (diff)
mesa/st: remove redundant call to st_finish in CopyTexSubImage
Rendering should already have been flushed, any synchronization will be done by the driver or memory manager.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/state_tracker/st_cb_texture.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c
index b7b791d9a41..98f109fc659 100644
--- a/src/mesa/state_tracker/st_cb_texture.c
+++ b/src/mesa/state_tracker/st_cb_texture.c
@@ -1315,9 +1315,6 @@ st_copy_texsubimage(GLcontext *ctx,
GLboolean use_fallback = GL_TRUE;
GLboolean matching_base_formats;
- /* any rendering in progress must complete before we grab the fb image */
- st_finish(ctx->st);
-
/* make sure finalize_textures has been called?
*/
if (0) st_validate_state(ctx->st);