=== modified file 'hw/vfb/InitOutput.c' --- hw/vfb/InitOutput.c 2009-06-11 20:34:06 +0000 +++ hw/vfb/InitOutput.c 2010-02-02 16:34:02 +0000 @@ -66,6 +66,7 @@ #endif /* HAS_SHM */ #include "dix.h" #include "miline.h" +#include "randrstr.h" #define VFB_DEFAULT_WIDTH 1280 #define VFB_DEFAULT_HEIGHT 1024 @@ -904,13 +905,13 @@ ret = fbScreenInit(pScreen, pbits, pvfb->width, pvfb->height, dpix, dpiy, pvfb->paddedWidth,pvfb->bitsPerPixel); + if (!ret) return FALSE; + #ifdef RENDER - if (ret && Render) + if (Render) fbPictureInit (pScreen, 0, 0); #endif - if (!ret) return FALSE; - miInitializeBackingStore(pScreen); /*