xf86-video-intel: src/sna/sna_accel.c
Chris Wilson
ickle at kemper.freedesktop.org
Sat Nov 5 07:34:28 PDT 2011
src/sna/sna_accel.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit c5d94b21d5c65dcae3e294412a8f20bad347a6d8
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Sat Nov 5 14:32:16 2011 +0000
sna: Extend the zero-line segments by one
Fixes misrendering of the wine tabs
Reported-by: Clemens Eisserer <linuxhippy at gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42606
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 19f8a80..3c8322f 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -3534,7 +3534,7 @@ rectangle_continue:
b->x1 = x;
b->y2 = b->y1 = y;
- while (--length) {
+ while (length--) {
e += e1;
x++;
if (e >= 0) {
@@ -3615,7 +3615,7 @@ X_continue2:
b->x2 = b->x1 = x;
b->y1 = y;
- while (--length) {
+ while (length--) {
e += e1;
y += sdy;
if (e >= 0) {
@@ -4540,7 +4540,7 @@ rectangle_continue:
b->x1 = x1;
b->y2 = b->y1 = y1;
- while (--length) {
+ while (length--) {
e += e1;
x1++;
if (e >= 0) {
@@ -4619,7 +4619,7 @@ X_continue2:
b->x2 = b->x1 = x1;
b->y1 = y1;
- while (--length) {
+ while (length--) {
e += e1;
y1 += sdy;
if (e >= 0) {
More information about the xorg-commit
mailing list