exa: driver pixmaps enabled if either CreatePixmap or CreatePixmap2 present

This commit is contained in:
Ben Skeggs 2009-06-09 09:14:50 +10:00 committed by Dave Airlie
parent 9390b7a133
commit fa18c569ed
1 changed files with 1 additions and 1 deletions

View File

@ -1190,7 +1190,7 @@ exaDriverInit (ScreenPtr pScreen,
return FALSE;
}
if (!pScreenInfo->CreatePixmap) {
if (!pScreenInfo->CreatePixmap && !pScreenInfo->CreatePixmap2) {
if (!pScreenInfo->memoryBase) {
LogMessage(X_ERROR, "EXA(%d): ExaDriverRec::memoryBase "
"must be non-zero\n", pScreen->myNum);