summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOlivier Andrieu <oandrieu@gmail.com>2004-04-15 23:59:37 +0000
committerHezekiah M. Carty <hcarty@atmos.umd.edu>2009-06-18 13:54:40 -0400
commitec0de240e727bfebe02c3f87f9115fa4c03d5e4d (patch)
tree9b499d25b6a1bf8ba9df337f8562df63edcc7a81 /test
parent90754e0ebf3184cd9f874d7c5d9da1cd598bc68d (diff)
support patterns (requires cairo 0.1.21)
Diffstat (limited to 'test')
-rw-r--r--test/knockout.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/knockout.ml b/test/knockout.ml
index d6b0199..189ec66 100644
--- a/test/knockout.ml
+++ b/test/knockout.ml
@@ -58,7 +58,7 @@ let fill_checks c width height =
Cairo.fill c end ;
Cairo.restore c ;
- Cairo.set_pattern c check ;
+ Cairo.set_pattern c (Cairo.pattern_create_for_surface check) ;
rect_path c 0. 0. (float width) (float height) ;
Cairo.fill c end ;
Cairo.restore c