[cairo-commit] src/cairo-glitz-surface.c
ç½æ¶å Jinghua Luo
jinghua at kemper.freedesktop.org
Fri Mar 2 02:37:47 PST 2007
src/cairo-glitz-surface.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
New commits:
diff-tree d48f31370172cddb85ae17a12faed2abf651ee83 (from c12a4571affe9fdd2bb4620c448aded43584bb54)
Author: Jinghua Luo <sunmoon1997 at gmail.com>
Date: Fri Mar 2 18:37:06 2007 +0800
glitz: fix build error.
Rename radial gradient inner/outer to c1/c2.
diff --git a/src/cairo-glitz-surface.c b/src/cairo-glitz-surface.c
index f492739..46c7989 100644
--- a/src/cairo-glitz-surface.c
+++ b/src/cairo-glitz-surface.c
@@ -686,12 +686,12 @@ _cairo_glitz_pattern_acquire_surface (ca
{
cairo_radial_pattern_t *grad = (cairo_radial_pattern_t *) pattern;
- params[0] = grad->gradient.inner.x;
- params[1] = grad->gradient.inner.y;
- params[2] = grad->gradient.inner.radius;
- params[3] = grad->gradient.outer.x;
- params[4] = grad->gradient.outer.y;
- params[5] = grad->gradient.outer.radius;
+ params[0] = grad->gradient.c1.x;
+ params[1] = grad->gradient.c1.y;
+ params[2] = grad->gradient.c1.radius;
+ params[3] = grad->gradient.c2.x;
+ params[4] = grad->gradient.c2.y;
+ params[5] = grad->gradient.c2.radius;
attr->filter = GLITZ_FILTER_RADIAL_GRADIENT;
}
More information about the cairo-commit
mailing list