projects
/
platform
/
upstream
/
pixman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19aae37
)
remove debugging leftovers
author
Benjamin Otte
<otte@gnome.org>
Tue, 25 Nov 2008 21:50:54 +0000
(22:50 +0100)
committer
Søren Sandmann Pedersen
<sandmann@redhat.com>
Tue, 23 Jun 2009 18:42:35 +0000
(14:42 -0400)
pixman/pixman-combine.c.template
patch
|
blob
|
history
diff --git
a/pixman/pixman-combine.c.template
b/pixman/pixman-combine.c.template
index
9aee4ab
..
0e62744
100644
(file)
--- a/
pixman/pixman-combine.c.template
+++ b/
pixman/pixman-combine.c.template
@@
-826,7
+826,6
@@
SetLum (comp4_t dest[3], comp4_t src[3], comp4_t sa, comp4_t lum)
tmp[1] = l + (tmp[1] - l) / 4 * (a - l) / (max - l) * 4;
tmp[2] = l + (tmp[2] - l) / 4 * (a - l) / (max - l) * 4;
}
- if (Max (tmp) > sa) while (1);
dest[0] = tmp[0];
dest[1] = tmp[1];
dest[2] = tmp[2];
@@
-878,7
+877,6
@@
SetSat (comp4_t dest[3], comp4_t src[3], comp4_t sat)
} else {
dest[0] = dest[1] = dest[2] = 0;
}
- if (Max (dest) > 255 * 255) while (1); \
}
/*