summaryrefslogtreecommitdiffstats
path: root/unix/xserver/hw/vnc/xvnc.cc
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2008-10-17 12:28:50 +0000
committerAdam Tkac <atkac@redhat.com>2008-10-17 12:28:50 +0000
commita25c1fc60eee02a106cdad39e1fe50df52e681c6 (patch)
treeb3a405ef164d0144dc228f20cd951f7705bc667e /unix/xserver/hw/vnc/xvnc.cc
parent80c67e8351eb76d7b1d22ee8cefc9db630abae9b (diff)
downloadtigervnc-a25c1fc60eee02a106cdad39e1fe50df52e681c6.tar.gz
tigervnc-a25c1fc60eee02a106cdad39e1fe50df52e681c6.zip
[Bugfix] Check return value from fbPictureInit
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3029 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix/xserver/hw/vnc/xvnc.cc')
-rw-r--r--unix/xserver/hw/vnc/xvnc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/xserver/hw/vnc/xvnc.cc b/unix/xserver/hw/vnc/xvnc.cc
index cc32bc0c..1bc94a2d 100644
--- a/unix/xserver/hw/vnc/xvnc.cc
+++ b/unix/xserver/hw/vnc/xvnc.cc
@@ -1107,7 +1107,7 @@ vfbScreenInit(int index, ScreenPtr pScreen, int argc, char **argv)
#ifdef RENDER
if (ret && Render)
- fbPictureInit (pScreen, 0, 0);
+ ret = fbPictureInit (pScreen, 0, 0);
#endif
if (!ret) return FALSE;