summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);