projects
/
profile
/
ivi
/
pixman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
808e2de
)
Fix bug in pixman_image_set_filter() where only the parameters were
author
Søren Sandmann Pedersen
<sandmann@redhat.com>
Tue, 5 Jun 2007 15:33:17 +0000
(11:33 -0400)
committer
Søren Sandmann Pedersen
<sandmann@redhat.com>
Tue, 5 Jun 2007 15:33:17 +0000
(11:33 -0400)
updated, not the filter type. Reported by Michel Dänzer.
pixman/pixman-image.c
patch
|
blob
|
history
diff --git
a/pixman/pixman-image.c
b/pixman/pixman-image.c
index
0802b86
..
e7e5d24
100644
(file)
--- a/
pixman/pixman-image.c
+++ b/
pixman/pixman-image.c
@@
-351,8
+351,10
@@
pixman_image_set_filter (pixman_image_t *image,
{
image_common_t *common = (image_common_t *)image;
- if (params != common->filter_params)
+ if (params != common->filter_params
|| filter != common->filter
)
{
+ common->filter = filter;
+
if (common->filter_params)
free (common->filter_params);