[cairo-commit] cairo/src cairo-glitz-surface.c,1.68,1.69
David Reveman
commit at pdx.freedesktop.org
Mon Dec 5 08:33:06 PST 2005
Committed by: davidr
Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv8560/src
Modified Files:
cairo-glitz-surface.c
Log Message:
glitz backend gradient fix
Index: cairo-glitz-surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-glitz-surface.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- cairo-glitz-surface.c 4 Dec 2005 15:47:47 -0000 1.68
+++ cairo-glitz-surface.c 5 Dec 2005 16:33:04 -0000 1.69
@@ -617,9 +617,9 @@
(((int) (gradient->stops[i].color.green * 0xff)) << 8) |
(((int) (gradient->stops[i].color.blue * 0xff)));
- params[n_base_params + 3 * i] = gradient->stops[i].offset;
- params[n_base_params + 3 * i] = i << 16;
- params[n_base_params + 3 * i] = 0;
+ params[n_base_params + 3 * i + 0] = gradient->stops[i].offset;
+ params[n_base_params + 3 * i + 1] = i << 16;
+ params[n_base_params + 3 * i + 2] = 0;
}
glitz_set_pixels (src->surface, 0, 0, gradient->n_stops, 1,
More information about the cairo-commit
mailing list