summaryrefslogtreecommitdiff
path: root/test/filter-nearest-offset.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/filter-nearest-offset.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/filter-nearest-offset.c')
-rw-r--r--test/filter-nearest-offset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/filter-nearest-offset.c b/test/filter-nearest-offset.c
index 7718da5d6..d7373c792 100644
--- a/test/filter-nearest-offset.c
+++ b/test/filter-nearest-offset.c
@@ -44,7 +44,7 @@ static cairo_test_status_t
draw (cairo_t *cr, int width, int height)
{
cairo_surface_t *surface;
- uint32_t data[STAMP_WIDTH * STAMP_HEIGHT] = {
+ static uint32_t data[STAMP_WIDTH * STAMP_HEIGHT] = {
0xffffffff, 0xffffffff, 0xffff0000, 0xffff0000,
0xffffffff, 0xffffffff, 0xffff0000, 0xffff0000,