aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/intel_pixel_read.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-01-08 12:23:46 -0800
committerJason Ekstrand <[email protected]>2015-01-22 10:21:07 -0800
commit404660e3c7bc6d13ae1d40185a02bfff6b956ac9 (patch)
tree99899675b6b237d319c769239db649dc6a5a4b11 /src/mesa/drivers/dri/i965/intel_pixel_read.c
parent3298b1235a303ad1fa261c52b22174430b2e90ff (diff)
i965/mipmap_tree: Add a depth parameter to create_for_bo
Reviewed-by: Neil Roberts <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_pixel_read.c')
-rw-r--r--src/mesa/drivers/dri/i965/intel_pixel_read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_pixel_read.c b/src/mesa/drivers/dri/i965/intel_pixel_read.c
index beb31522c13..688a9192697 100644
--- a/src/mesa/drivers/dri/i965/intel_pixel_read.c
+++ b/src/mesa/drivers/dri/i965/intel_pixel_read.c
@@ -142,7 +142,7 @@ do_blit_readpixels(struct gl_context * ctx,
dst_buffer,
irb->mt->format,
dst_offset,
- width, height,
+ width, height, 1,
dst_stride);
if (!intel_miptree_blit(brw,