diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-03-02 16:25:22 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-03-08 19:45:28 +0100 |
commit | 05697e502d709974f9b94feca5d9bdde20b993be (patch) | |
tree | 4b048e1a6b305ab18402edb01383fc77a367398c /common/gl_canvas.c | |
parent | f7a77f9881d5cd1d360b043d6b619216603941dd (diff) | |
download | spice-05697e502d709974f9b94feca5d9bdde20b993be.tar.gz spice-05697e502d709974f9b94feca5d9bdde20b993be.tar.xz spice-05697e502d709974f9b94feca5d9bdde20b993be.zip |
Make virt mapping an interface
Diffstat (limited to 'common/gl_canvas.c')
-rw-r--r-- | common/gl_canvas.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/common/gl_canvas.c b/common/gl_canvas.c index f173194e..e7a7bfff 100644 --- a/common/gl_canvas.c +++ b/common/gl_canvas.c @@ -813,8 +813,7 @@ GLCanvas *gl_canvas_create(void *usr_data, int width, int height, int depth #endif , SpiceGlzDecoder *glz_decoder #ifndef CAIRO_CANVAS_NO_CHUNKS - , void *get_virt_opaque, get_virt_fn_t get_virt, - void *validate_virt_opaque, validate_virt_fn_t validate_virt + , SpiceVirtMapping *virt_mapping #endif ) { @@ -843,11 +842,7 @@ GLCanvas *gl_canvas_create(void *usr_data, int width, int height, int depth #endif , glz_decoder #ifndef CAIRO_CANVAS_NO_CHUNKS - , - get_virt_opaque, - get_virt, - validate_virt_opaque, - validate_virt + , virt_mapping #endif ); if (!init_ok) { |