summaryrefslogtreecommitdiffstats
path: root/client/canvas.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/canvas.h')
-rw-r--r--client/canvas.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/canvas.h b/client/canvas.h
index 135783b0..8d64ca3f 100644
--- a/client/canvas.h
+++ b/client/canvas.h
@@ -29,6 +29,7 @@
#include "canvas_utils.h"
#include "glz_decoded_image.h"
#include "glz_decoder.h"
+#include "jpeg_decoder.h"
enum CanvasType {
CANVAS_TYPE_INVALID,
@@ -423,6 +424,7 @@ protected:
CSurfaces& csurfaces() { return _csurfaces; }
GlzDecoder& glz_decoder() {return _glz_decoder;}
+ JpegDecoder& jpeg_decoder() { return _jpeg_decoder;}
private:
void access_test(void* ptr, size_t size);
@@ -445,6 +447,8 @@ private:
GlzDecoderCanvasDebug _glz_debug;
GlzDecoder _glz_decoder;
+ JpegDecoder _jpeg_decoder;
+
CSurfaces& _csurfaces;
unsigned long _base;