Initial support all color formats by the vncviewer in
the scaling mode.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2103 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/win/vncviewer/DesktopWindow.h b/win/vncviewer/DesktopWindow.h
index 6e7a1d0..11b6670 100644
--- a/win/vncviewer/DesktopWindow.h
+++ b/win/vncviewer/DesktopWindow.h
@@ -83,7 +83,7 @@
// - Set the pixel format, size etc of the underlying PixelBuffer
void setPF(const PixelFormat& pf);
- PixelFormat getPF() const { return buffer->getPF(); }
+ PixelFormat getPF() const { return buffer->getPixelFormat(); }
void setSize(int w, int h);
void setColour(int i, int r, int g, int b) {buffer->setColour(i, r, g, b);}
void setAutoScaling(bool as);