summaryrefslogtreecommitdiff
path: root/exa
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2009-06-09 09:14:50 +1000
committerDave Airlie <airlied@redhat.com>2009-06-09 09:24:32 +1000
commitfa18c569ed26d2fdd442af6b39723cb7e30d18df (patch)
treedd1368a496e85551f14a7724033e7e9061ac8793 /exa
parent9390b7a133b0e17bc4d303effb7a99ff7017b086 (diff)
exa: driver pixmaps enabled if either CreatePixmap or CreatePixmap2 present
Diffstat (limited to 'exa')
-rw-r--r--exa/exa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exa/exa.c b/exa/exa.c
index 089350b24..d04ea71e0 100644
--- a/exa/exa.c
+++ b/exa/exa.c
@@ -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);