diff options
Diffstat (limited to 'vncviewer/Viewport.cxx')
-rw-r--r-- | vncviewer/Viewport.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vncviewer/Viewport.cxx b/vncviewer/Viewport.cxx index 66a78412..4daff164 100644 --- a/vncviewer/Viewport.cxx +++ b/vncviewer/Viewport.cxx @@ -27,6 +27,7 @@ #include <rfb/CMsgWriter.h> #include <rfb/LogWriter.h> +#include <rfb/Exception.h> // FLTK can pull in the X11 headers on some systems #ifndef XK_VoidSymbol @@ -452,6 +453,8 @@ PlatformPixelBuffer* Viewport::createFramebuffer(int w, int h) fb = new X11PixelBuffer(w, h); #endif } catch (rdr::Exception& e) { + vlog.error(_("Unable to create platform specific framebuffer: %s"), e.str()); + vlog.error(_("Using platform independent framebuffer")); fb = new FLTKPixelBuffer(w, h); } |