summaryrefslogtreecommitdiff
path: root/src/test-null-compositor-surface.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-02-09 13:01:17 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-02-09 13:01:17 +0000
commit2061cd81f26c04deb5a7092744295caab7bac077 (patch)
tree9190b32541c48e1440f6581c34f3253092597984 /src/test-null-compositor-surface.c
parent7c34997a3ba89f2e957953aeb4bffa910dbf375b (diff)
Replace the ad-hoc surface unwrappers with a function pointer
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/test-null-compositor-surface.c')
-rw-r--r--src/test-null-compositor-surface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test-null-compositor-surface.c b/src/test-null-compositor-surface.c
index e94c8a74f..951615525 100644
--- a/src/test-null-compositor-surface.c
+++ b/src/test-null-compositor-surface.c
@@ -198,6 +198,7 @@ static const cairo_surface_backend_t test_compositor_surface_backend = {
_cairo_image_surface_map_to_image,
_cairo_image_surface_unmap_image,
+ _cairo_image_surface_source,
_cairo_image_surface_acquire_source_image,
_cairo_image_surface_release_source_image,
NULL, /* snapshot */