summaryrefslogtreecommitdiffstats
path: root/common/gl_canvas.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-03-02 15:51:12 +0100
committerAlexander Larsson <alexl@redhat.com>2010-03-08 19:45:27 +0100
commitf7a77f9881d5cd1d360b043d6b619216603941dd (patch)
treef51302aa48c9a0cda58d72dd4e575ae9eeadb102 /common/gl_canvas.h
parentc0fdcd1a10d0eae92fec9e00382b445d669c7428 (diff)
downloadspice-f7a77f9881d5cd1d360b043d6b619216603941dd.tar.gz
spice-f7a77f9881d5cd1d360b043d6b619216603941dd.tar.xz
spice-f7a77f9881d5cd1d360b043d6b619216603941dd.zip
Make glz_decoder non-optional canvas_base in canvas constructors
It can still be NULL, but we simplify the headers by always including it. There is no practical performance difference here.
Diffstat (limited to 'common/gl_canvas.h')
-rw-r--r--common/gl_canvas.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/gl_canvas.h b/common/gl_canvas.h
index 1c573407..ec0cbdbf 100644
--- a/common/gl_canvas.h
+++ b/common/gl_canvas.h
@@ -64,9 +64,7 @@ GLCanvas *gl_canvas_create(void *usr_data, int width, int height, int depth,
#else
GLCanvas *gl_canvas_create(void *usr_data, int width, int height, int depth
#endif
-#ifdef USE_GLZ
, SpiceGlzDecoder *glz_decoder
-#endif
#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