diff options
author | Pierre Ossman <ossman@cendio.se> | 2014-10-10 13:42:30 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2014-10-10 13:42:30 +0200 |
commit | 705276743c0dcf15c17c8b56794855cebdecfc1b (patch) | |
tree | 148c5aea2452f65ccc412e52249f50e827933289 /vncviewer/Viewport.cxx | |
parent | 41322934487e940357c715e9ac9698696b73d0d8 (diff) | |
parent | d1a853bca7a70467915b3759aa9de5e63a5e8edb (diff) | |
download | tigervnc-705276743c0dcf15c17c8b56794855cebdecfc1b.tar.gz tigervnc-705276743c0dcf15c17c8b56794855cebdecfc1b.zip |
Merge branch 'assert' of https://github.com/CendioOssman/tigervnc
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); } |