summaryrefslogtreecommitdiff
path: root/test/source-surface-scale-paint.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-10-09 13:33:21 +0000
committerCarl Worth <cworth@cworth.org>2005-10-09 13:33:21 +0000
commit951c7a65924146c6acf6658ea17eca946fe0f069 (patch)
treecc6a7dfc5f09c1edaa257878b04f52831e1f8151 /test/source-surface-scale-paint.c
parentea7ac21d3b5c488e3d1ec82c18d66ae3f356d16f (diff)
downloadcairo-951c7a65924146c6acf6658ea17eca946fe0f069.tar.gz
Make surface image data static to work around a bug in cairo-meta-surface.c (not copying source surface pattern data).
Diffstat (limited to 'test/source-surface-scale-paint.c')
-rw-r--r--test/source-surface-scale-paint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source-surface-scale-paint.c b/test/source-surface-scale-paint.c
index 3f3644c44..e5676c944 100644
--- a/test/source-surface-scale-paint.c
+++ b/test/source-surface-scale-paint.c
@@ -35,7 +35,7 @@ static cairo_test_status_t
draw (cairo_t *cr, int width, int height)
{
cairo_surface_t *surface;
- uint32_t data[16] = {
+ static uint32_t data[16] = {
0xffffffff, 0xffffffff, 0xffff0000, 0xffff0000,
0xffffffff, 0xffffffff, 0xffff0000, 0xffff0000,