diff options
author | Eric Anholt <[email protected]> | 2006-11-29 01:16:12 +0000 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2006-11-29 01:16:12 +0000 |
commit | 3cd06cf8c5ef6a27e36c584e12ba79ed8dacbf28 (patch) | |
tree | 01b1c257356478a276827a7b7f670b7caae051a9 /src/mesa/drivers/dri/i965/intel_tex_validate.c | |
parent | 716091a6a0a9a4cc03f0aa61a3a6518b0648f167 (diff) |
Add accelerated CopyPixels for non-overlapping, 1:1 blits.
Submitted by Gary Wong <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_tex_validate.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_tex_validate.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_tex_validate.c b/src/mesa/drivers/dri/i965/intel_tex_validate.c index 91ae0970a04..cb23b9dd879 100644 --- a/src/mesa/drivers/dri/i965/intel_tex_validate.c +++ b/src/mesa/drivers/dri/i965/intel_tex_validate.c @@ -133,6 +133,9 @@ GLuint intel_finalize_mipmap_tree( struct intel_context *intel, GLuint nr_faces = 0; struct gl_texture_image *firstImage; + if( tObj == intel->frame_buffer_texobj ) + return GL_FALSE; + /* We know/require this is true by now: */ assert(intelObj->base.Complete); |