diff options
author | Eric Anholt <eric@anholt.net> | 2010-03-16 13:14:38 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-03-16 13:18:54 -0700 |
commit | a589da14dee0c2a32e6e529f1a390b01a3ee4001 (patch) | |
tree | 9b08afda092c84157e9f44fd8545c7e469f55087 /src/mesa/drivers/dri/intel/intel_mipmap_tree.c | |
parent | 800a4b202f8b23540dbb128e780ca8b7e90d1f46 (diff) |
i965: Fix inversion for glCopyPixels to/from FBOs.
fixes piglit fbo-copypix.
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_mipmap_tree.c')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_mipmap_tree.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c b/src/mesa/drivers/dri/intel/intel_mipmap_tree.c index 4f14946ec7..da17809f16 100644 --- a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c +++ b/src/mesa/drivers/dri/intel/intel_mipmap_tree.c @@ -525,7 +525,8 @@ intel_miptree_image_copy(struct intel_context *intel, intel_miptree_get_image_offset(dst, level, face, i, &dst_x, &dst_y); success = intel_region_copy(intel, dst->region, 0, dst_x, dst_y, - src->region, 0, src_x, src_y, width, height, + src->region, 0, src_x, src_y, + width, height, GL_FALSE, GL_COPY); if (!success) { GLubyte *src_ptr, *dst_ptr; |