summaryrefslogtreecommitdiff
path: root/boilerplate/cairo-boilerplate-win32.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-06-30 18:27:54 +0200
committerBenjamin Otte <otte@redhat.com>2010-07-03 02:55:52 +0200
commita1c4b001a548611b7d77e9280fdb5a82da275830 (patch)
tree4aecb01e880109466e219f06be2b663499219c10 /boilerplate/cairo-boilerplate-win32.c
parent4c039b1cdfac5b5d6aa0c38f0779213fd14ec7de (diff)
downloadcairo-a1c4b001a548611b7d77e9280fdb5a82da275830.tar.gz
boilerplate: Add a describe vfunc
This function is supposed to describe the backend in use. The describe function is optional - and therefore initialized as NULL everywhere. Note: It is well known that the xlib backend uses X. What is not known is what version the server supports or what graphics card it is running on. That is the information the describe vfunc is supposed to provide.
Diffstat (limited to 'boilerplate/cairo-boilerplate-win32.c')
-rw-r--r--boilerplate/cairo-boilerplate-win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/boilerplate/cairo-boilerplate-win32.c b/boilerplate/cairo-boilerplate-win32.c
index 72176c872..5194befc2 100644
--- a/boilerplate/cairo-boilerplate-win32.c
+++ b/boilerplate/cairo-boilerplate-win32.c
@@ -57,7 +57,7 @@ static const cairo_boilerplate_target_t targets[] = {
NULL, NULL,
_cairo_boilerplate_get_image_surface,
cairo_surface_write_to_png,
- NULL, NULL, TRUE, FALSE, FALSE
+ NULL, NULL, NULL, TRUE, FALSE, FALSE
},
/* Testing the win32 surface isn't interesting, since for
* ARGB images it just chains to the image backend
@@ -70,7 +70,7 @@ static const cairo_boilerplate_target_t targets[] = {
NULL, NULL,
_cairo_boilerplate_get_image_surface,
cairo_surface_write_to_png,
- NULL, NULL, FALSE, FALSE, FALSE
+ NULL, NULL, NULL, FALSE, FALSE, FALSE
},
};
CAIRO_BOILERPLATE (win32, targets)