diff options
author | Adam Tkac <atkac@redhat.com> | 2008-10-17 12:28:50 +0000 |
---|---|---|
committer | Adam Tkac <atkac@redhat.com> | 2008-10-17 12:28:50 +0000 |
commit | a25c1fc60eee02a106cdad39e1fe50df52e681c6 (patch) | |
tree | b3a405ef164d0144dc228f20cd951f7705bc667e /unix/xserver/hw/vnc/xvnc.cc | |
parent | 80c67e8351eb76d7b1d22ee8cefc9db630abae9b (diff) | |
download | tigervnc-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.cc | 2 |
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; |