summaryrefslogtreecommitdiffstats
path: root/vncviewer/Viewport.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2014-10-10 13:42:30 +0200
committerPierre Ossman <ossman@cendio.se>2014-10-10 13:42:30 +0200
commit705276743c0dcf15c17c8b56794855cebdecfc1b (patch)
tree148c5aea2452f65ccc412e52249f50e827933289 /vncviewer/Viewport.cxx
parent41322934487e940357c715e9ac9698696b73d0d8 (diff)
parentd1a853bca7a70467915b3759aa9de5e63a5e8edb (diff)
downloadtigervnc-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.cxx3
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);
}