summaryrefslogtreecommitdiff
path: root/lib/pixman/demos/gradient-test.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2012-02-28 20:36:13 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2012-02-28 20:36:13 +0000
commitfdb5f16d911f5c396b1d01fee6b3fde5fd54d73f (patch)
tree7994a28fa3cf0a17599d4786589870c7d280dcb3 /lib/pixman/demos/gradient-test.c
parent1ce6329519e2b3c099c38c3901166ac0f19b0a15 (diff)
Update to pixman 0.22.4. Tested by shadchin@, krw@.
Diffstat (limited to 'lib/pixman/demos/gradient-test.c')
-rw-r--r--lib/pixman/demos/gradient-test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/pixman/demos/gradient-test.c b/lib/pixman/demos/gradient-test.c
index fc84844b0..20f78a6aa 100644
--- a/lib/pixman/demos/gradient-test.c
+++ b/lib/pixman/demos/gradient-test.c
@@ -36,10 +36,12 @@ main (int argc, char **argv)
};
#endif
+#if 0
pixman_point_fixed_t c_inner;
pixman_point_fixed_t c_outer;
pixman_fixed_t r_inner;
pixman_fixed_t r_outer;
+#endif
for (i = 0; i < WIDTH * HEIGHT; ++i)
dest[i] = 0x4f00004f; /* pale blue */
@@ -49,6 +51,7 @@ main (int argc, char **argv)
dest,
WIDTH * 4);
+#if 0
c_inner.x = pixman_double_to_fixed (50.0);
c_inner.y = pixman_double_to_fixed (50.0);
c_outer.x = pixman_double_to_fixed (50.0);
@@ -58,6 +61,7 @@ main (int argc, char **argv)
src_img = pixman_image_create_conical_gradient (&c_inner, r_inner,
stops, 2);
+#endif
#if 0
src_img = pixman_image_create_conical_gradient (&c_inner, r_inner,
stops, 2);