diff --git a/hw/xnest/Screen.c b/hw/xnest/Screen.c index e7f7067cd..48f5e657b 100644 --- a/hw/xnest/Screen.c +++ b/hw/xnest/Screen.c @@ -23,6 +23,7 @@ is" without express or implied warranty. #include #include "mi/mi_priv.h" +#include "render/mipict.h" #include "scrnintstr.h" #include "dix.h" @@ -512,6 +513,9 @@ breakout: if (!xnestCreateDefaultColormap(pScreen)) return FALSE; + if (!miPictureInit(pScreen, 0, 0)) + return FALSE; + return TRUE; }