diff options
author | Eric Anholt <[email protected]> | 2008-12-23 14:45:37 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2008-12-23 15:01:53 -0800 |
commit | 15b2e0d13873fb3b55af414285d74f4489dd2e13 (patch) | |
tree | 14f6298a2a41f6437451e3fa20cb96d94c358384 /src/mesa/drivers | |
parent | b359350017a8f0328912f19d233bcdcc256aded1 (diff) |
intel: Fix glBitmap clipping for DRI1.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_pixel_bitmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_pixel_bitmap.c b/src/mesa/drivers/dri/intel/intel_pixel_bitmap.c index fb1a051cdc8..5e0e0d29ca5 100644 --- a/src/mesa/drivers/dri/intel/intel_pixel_bitmap.c +++ b/src/mesa/drivers/dri/intel/intel_pixel_bitmap.c @@ -244,8 +244,8 @@ do_blit_bitmap( GLcontext *ctx, /* Clip to drawable cliprect */ if (!_mesa_clip_to_region(cliprects[i].x1, cliprects[i].y1, - cliprects[i].x2 - cliprects[i].x1, - cliprects[i].y2 - cliprects[i].y1, + cliprects[i].x2, + cliprects[i].y2, &box_x, &box_y, &box_w, &box_h)) continue; |