diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-04-21 12:03:06 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-04-23 16:36:35 +0200 |
commit | 2d6fbde89b08b7dd4a2050c71fe6663ea8e9c2d9 (patch) | |
tree | 7a21036fa2fe975dac3462a075ee968eb3ec267f /client/red_gl_canvas.cpp | |
parent | 98d91203c5d2f6f7249f38941466857b6a566f5d (diff) | |
download | spice-2d6fbde89b08b7dd4a2050c71fe6663ea8e9c2d9.tar.gz spice-2d6fbde89b08b7dd4a2050c71fe6663ea8e9c2d9.tar.xz spice-2d6fbde89b08b7dd4a2050c71fe6663ea8e9c2d9.zip |
Move RedPixmap::Format to RedDrawable::Format
We need to know the format for other drawables too (like for instance
the native format of a window), so we're pushing this down.
This changes a bunch of references to be RedDrawable::, but not all.
The the old RedPixmap:: references still work, but will be phased out.
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), |