diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-03-02 15:41:08 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-03-08 19:45:27 +0100 |
commit | c0fdcd1a10d0eae92fec9e00382b445d669c7428 (patch) | |
tree | 590429cdba9b115c90e5beaec90f1981ed513121 /common/gdi_canvas.h | |
parent | 04b35fe7ff6b09885a2af9ef8627b45b892e3fb0 (diff) | |
download | spice-c0fdcd1a10d0eae92fec9e00382b445d669c7428.tar.gz spice-c0fdcd1a10d0eae92fec9e00382b445d669c7428.tar.xz spice-c0fdcd1a10d0eae92fec9e00382b445d669c7428.zip |
Make canvas Glz decoder integration nicer
We use a dynamic interface similar to e.g. SpiceImageCache instead
of passing both function and opaque
Diffstat (limited to 'common/gdi_canvas.h')
-rw-r--r-- | common/gdi_canvas.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/gdi_canvas.h b/common/gdi_canvas.h index d9b8d219..12082d83 100644 --- a/common/gdi_canvas.h +++ b/common/gdi_canvas.h @@ -62,8 +62,7 @@ void gdi_canvas_set_access_params(GdiCanvas *canvas, unsigned long base, unsigne GdiCanvas *gdi_canvas_create(HDC dc, class Mutex *lock, int bits, SpiceImageCache *bits_cache, SpicePaletteCache *palette_cache, - void *glz_decoder_opaque, - glz_decode_fn_t glz_decode); + SpiceGlzDecoder *glz_decoder); void gdi_canvas_destroy(GdiCanvas *canvas); |