diff options
Diffstat (limited to 'dix/main.c')
-rw-r--r-- | dix/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dix/main.c b/dix/main.c index fb935c969..e558d702b 100644 --- a/dix/main.c +++ b/dix/main.c @@ -211,6 +211,9 @@ main(int argc, char *argv[], char *envp[]) ScreenPtr pScreen = screenInfo.gpuscreens[i]; if (!CreateScratchPixmapsForScreen(pScreen)) FatalError("failed to create scratch pixmaps"); + if (pScreen->CreateScreenResources && + !(*pScreen->CreateScreenResources) (pScreen)) + FatalError("failed to create screen resources"); } for (i = 0; i < screenInfo.numScreens; i++) { |