summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2012-01-05 18:47:41 +0100
committerAndrea Canciani <ranma42@gmail.com>2012-01-05 18:48:05 +0100
commit5210ba265850c0e750d2990c954fcb4fb5e0ff98 (patch)
tree4d54b50ccefbd14d4963b151f16a759be13d179f
parent33c15b4757fc69837650f20461f42e1a051870d0 (diff)
-rw-r--r--pixman/pixman-gradient-walker.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/pixman/pixman-gradient-walker.c b/pixman/pixman-gradient-walker.c
index 0cfb8db..96fbb32 100644
--- a/pixman/pixman-gradient-walker.c
+++ b/pixman/pixman-gradient-walker.c
@@ -104,13 +104,6 @@ gradient_walker_reset (pixman_gradient_walker_t *walker,
x = 0x10000 - x;
}
}
- else if (walker->repeat == PIXMAN_REPEAT_NONE)
- {
- if (n == 0)
- right_c = left_c;
- else if (n == count)
- left_c = right_c;
- }
walker->left_x = left_x + (pos - x);
walker->right_x = right_x + (pos - x);