From: Keith Whitwell Date: Thu, 7 May 2009 18:27:30 +0000 (+0100) Subject: mesa/st: remove redundant call to st_finish in CopyTexSubImage X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6826bad6a75e78729dd472ea26c87787c90ada4c;p=mesa.git 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. --- 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);