xf86-video-intel: src/sna/sna_accel.c
Chris Wilson
ickle at kemper.freedesktop.org
Thu Jun 16 10:48:26 PDT 2011
src/sna/sna_accel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 1c3c08e80f08adb12a03277a60c4a56115281743
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Thu Jun 16 18:37:43 2011 +0100
sna: Fix the typo in BOX_EMPTY
BOX_EMPTY(&box) surprisingly compiles and generates interesting code that
evaluates to if (0). Oops.
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index e28ce46..b959e44 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -1014,7 +1014,7 @@ sna_put_image(DrawablePtr drawable, GCPtr gc, int depth,
box.x2 = pixmap->drawable.width;
if (box.y2 > pixmap->drawable.height)
box.y2 = pixmap->drawable.height;
- if (BOX_EMPTY(&box))
+ if (BOX_EMPTY(box))
return;
RegionInit(®ion, &box, 1);
More information about the xorg-commit
mailing list