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-Tag: 062012170305~16521^2~452 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=507f4e7a7448fb246febefe8819b7b3ac70a35b4;p=profile%2Fivi%2Fmesa.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 b7b791d..98f109f 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);