From: Eric Anholt Date: Tue, 23 Dec 2008 22:45:37 +0000 (-0800) Subject: intel: Fix glBitmap clipping for DRI1. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=15b2e0d13873fb3b55af414285d74f4489dd2e13;p=mesa.git intel: Fix glBitmap clipping for DRI1. --- 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;