]> source.dussan.org Git - tigervnc.git/commitdiff
[Bugfix] Check return value from fbPictureInit
authorAdam Tkac <atkac@redhat.com>
Fri, 17 Oct 2008 12:28:50 +0000 (12:28 +0000)
committerAdam Tkac <atkac@redhat.com>
Fri, 17 Oct 2008 12:28:50 +0000 (12:28 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3029 3789f03b-4d11-0410-bbf8-ca57d06f2519

unix/xserver/hw/vnc/xvnc.cc

index cc32bc0c4acff2944dbb1fe8c1d056bd28671da2..1bc94a2ddc34dfa3b5275e32eecd6b9d864b70b7 100644 (file)
@@ -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;