diff options
Diffstat (limited to 'client/red_gl_canvas.cpp')
-rw-r--r-- | client/red_gl_canvas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/red_gl_canvas.cpp b/client/red_gl_canvas.cpp index dc743cfb..13e47234 100644 --- a/client/red_gl_canvas.cpp +++ b/client/red_gl_canvas.cpp @@ -33,7 +33,7 @@ GCanvas::GCanvas(int width, int height, uint32_t format, RedWindow *win, , _textures_lost (false) { _pixmap = new RedPixmapGL(width, height, - RedPixmap::format_from_surface(format), + RedDrawable::format_from_surface(format), true, win, rendertype); if (!(_canvas = gl_canvas_create(width, height, SPICE_SURFACE_FMT_DEPTH(format), |