summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lx_memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lx_memory.c b/src/lx_memory.c
index 2106526..41ac077 100644
--- a/src/lx_memory.c
+++ b/src/lx_memory.c
@@ -287,7 +287,7 @@ LXInitOffscreen(ScrnInfoPtr pScrni)
xf86DrvMsg(pScrni->scrnIndex, X_INFO, " ExaBfrSz: 0x%x bytes\n",
pGeode->exaBfrSz);
- if (pGeode->pExa->offScreenBase)
+ if (pGeode->pExa && pGeode->pExa->offScreenBase)
xf86DrvMsg(pScrni->scrnIndex, X_INFO, " EXA: 0x%x bytes\n",
(unsigned int)(pGeode->pExa->memorySize -
pGeode->pExa->offScreenBase));