summaryrefslogtreecommitdiff
path: root/test/cairo-test.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-06-27 17:53:18 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-06-27 17:53:18 +0100
commit86624627e4b196a78cfd9bd642299441e838e0f2 (patch)
tree49edd056650918b296654c4b1db402ea9142b80f /test/cairo-test.c
parentc506ddb58612c69b80b08be3a6d14c5bcc1ac21f (diff)
[test] Add group-unaligned
Test case for: Bug 22441 -- Unexpected shift with push_group and pop_group https://bugs.freedesktop.org/show_bug.cgi?id=22441 This is a test that demonstrates the error in the pdf backend when using groups on surfaces with non-integer sizes. In order to create such a surface, we need to update the boilerplate to use doubles instead of integers when specifying the surface size.
Diffstat (limited to 'test/cairo-test.c')
-rw-r--r--test/cairo-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cairo-test.c b/test/cairo-test.c
index 715210f9..45b644b5 100644
--- a/test/cairo-test.c
+++ b/test/cairo-test.c
@@ -663,7 +663,7 @@ cairo_test_for_target (cairo_test_context_t *ctx,
cairo_bool_t have_output = FALSE;
cairo_bool_t have_result = FALSE;
void *closure;
- int width, height;
+ double width, height;
cairo_bool_t have_output_dir;
#if HAVE_MEMFAULT
int malloc_failure_iterations = ctx->malloc_failure;