summaryrefslogtreecommitdiffstats
path: root/client/red_gl_canvas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'client/red_gl_canvas.cpp')
-rw-r--r--client/red_gl_canvas.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/client/red_gl_canvas.cpp b/client/red_gl_canvas.cpp
index 830de035..43bf4249 100644
--- a/client/red_gl_canvas.cpp
+++ b/client/red_gl_canvas.cpp
@@ -87,13 +87,8 @@ void GCanvas::set_mode(int width, int height, int depth, RedWindow *win,
create_pixmap(width, height, win, rendertype);
if (!(_canvas = gl_canvas_create(NULL, width, height, depth,
- &pixmap_cache(),
- bits_cache_put,
- bits_cache_get,
- &palette_cache(),
- palette_cache_put,
- palette_cache_get,
- palette_cache_release,
+ &pixmap_cache().base,
+ &palette_cache().base,
&glz_decoder(),
glz_decode))) {
THROW("create canvas failed");