diff options
Diffstat (limited to 'client/red_cairo_canvas.cpp')
-rw-r--r-- | client/red_cairo_canvas.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/client/red_cairo_canvas.cpp b/client/red_cairo_canvas.cpp index 87023e17..97277fb3 100644 --- a/client/red_cairo_canvas.cpp +++ b/client/red_cairo_canvas.cpp @@ -102,8 +102,7 @@ void CCanvas::set_mode(int width, int height, int depth, RedWindow *win) if (!(_canvas = canvas_create(surface, depth, &pixmap_cache().base, &palette_cache().base, - &glz_decoder(), - glz_decode))) { + &glz_decoder()))) { THROW("create canvas failed"); } pixman_image_unref (surface); |