diff options
Diffstat (limited to 'vncviewer/Viewport.h')
-rw-r--r-- | vncviewer/Viewport.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/vncviewer/Viewport.h b/vncviewer/Viewport.h index b8f1a789..f385a245 100644 --- a/vncviewer/Viewport.h +++ b/vncviewer/Viewport.h @@ -33,6 +33,14 @@ #include <rfb/PixelBuffer.h> #include <rfb/PixelTransformer.h> +#if defined(WIN32) +#include "PlatformPixelBuffer.h" +#elif defined(__APPLE__) +#include "PlatformPixelBuffer.h" +#else +#include "PlatformPixelBuffer.h" +#endif + class CConn; class Viewport : public Fl_Widget { @@ -119,7 +127,7 @@ private: private: CConn* cc; - rfb::ManagedPixelBuffer* frameBuffer; + PlatformPixelBuffer* frameBuffer; rfb::PixelTransformer *pixelTrans; rfb::SimpleColourMap colourMap; |