summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-05-07 19:27:30 +0100
committerKeith Whitwell <keithw@vmware.com>2009-05-08 10:04:14 +0100
commit6826bad6a75e78729dd472ea26c87787c90ada4c (patch)
tree9bf2101fc431009543fcf7217b08efe1ee0e5b66
parent626b6f37eaf81eeb0eb069f18c98c6ffa463647e (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.
-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);