aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-12-15 11:46:37 -0800
committerEric Anholt <[email protected]>2010-12-16 10:48:19 -0800
commite65c643792d1327a0a491f5d4a707467a6955746 (patch)
tree444bf047b091793b25a000d42b3d3ef413181dd4 /src
parent99c7840b0c10dbc731cad93b02b3865855ad086b (diff)
intel: Drop commented intel_flush from copy_teximage.
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/.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/intel/intel_tex_copy.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_tex_copy.c b/src/mesa/drivers/dri/intel/intel_tex_copy.c
index 5540c9849b4..381ad14dcbf 100644
--- a/src/mesa/drivers/dri/intel/intel_tex_copy.c
+++ b/src/mesa/drivers/dri/intel/intel_tex_copy.c
@@ -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) {