Refuse to initialize Composite if Render is not present.
Composite relies on the presence of Render, in particular for the automatic compositing.
This commit is contained in:
parent
6ed08949af
commit
8afc7e2eb3
|
@ -678,6 +678,12 @@ CompositeExtensionInit (void)
|
||||||
ExtensionEntry *extEntry;
|
ExtensionEntry *extEntry;
|
||||||
int s;
|
int s;
|
||||||
|
|
||||||
|
/* Ensure that Render is initialized on all screens. */
|
||||||
|
for (s = 0; s < screenInfo.numScreens; s++) {
|
||||||
|
if (GetPictureScreenIfSet(screenInfo.screens[s]) == NULL)
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
CompositeClientWindowType = CreateNewResourceType (FreeCompositeClientWindow);
|
CompositeClientWindowType = CreateNewResourceType (FreeCompositeClientWindow);
|
||||||
if (!CompositeClientWindowType)
|
if (!CompositeClientWindowType)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue