summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/intel/intel_pixel_copy.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-12-17 21:18:20 -0800
committerEric Anholt <eric@anholt.net>2008-12-19 13:04:29 -0800
commitb9752a2bd615d136369af63ed3d45cc10adf21e7 (patch)
treea2f7a9ab63679f94c2afc5f01d5adcbd68d998d9 /src/mesa/drivers/dri/intel/intel_pixel_copy.c
parentd091ebd4e41c88fe53db9d52842aaa20d23b995d (diff)
intel: Update mesa state in blit operations that want post-scissor draw bounds.
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_pixel_copy.c')
-rw-r--r--src/mesa/drivers/dri/intel/intel_pixel_copy.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_pixel_copy.c b/src/mesa/drivers/dri/intel/intel_pixel_copy.c
index 1505af2286..447c6494e7 100644
--- a/src/mesa/drivers/dri/intel/intel_pixel_copy.c
+++ b/src/mesa/drivers/dri/intel/intel_pixel_copy.c
@@ -266,6 +266,9 @@ do_blit_copypixels(GLcontext * ctx,
drm_clip_rect_t *cliprects;
int x_off, y_off;
+ /* Update draw buffer bounds */
+ _mesa_update_state(ctx);
+
/* Copypixels can be more than a straight copy. Ensure all the
* extra operations are disabled:
*/