intel: Drop commented intel_flush from copy_teximage.
authorEric Anholt <eric@anholt.net>
Wed, 15 Dec 2010 19:46:37 +0000 (11:46 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 16 Dec 2010 18:48:19 +0000 (10:48 -0800)
The blit that follows appears in the command stream so it's serialized
with previous rendering.  Any queued vertices in the tnl layer were
already flushed up in mesa/main/.

src/mesa/drivers/dri/intel/intel_tex_copy.c

index 5540c9849b4b27c8e9e4b974ad6577439404b0b6..381ad14dcbf6d4e9bd39654bc1a0b487cbf1121f 100644 (file)
@@ -103,7 +103,6 @@ do_copy_texsubimage(struct intel_context *intel,
    struct gl_context *ctx = &intel->ctx;
    const struct intel_region *src;
 
-   /* intel_flush(ctx); */
    intel_prepare_render(intel);
    src = get_teximage_source(intel, internalFormat);
    if (!intelImage->mt || !src || !src->buffer) {