diff options
author | Mart Raudsepp <leio@gentoo.org> | 2010-08-16 07:09:43 +0300 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2010-08-16 07:10:40 +0300 |
commit | f0e24491ca676244b2fd6f2d4476e996847824cd (patch) | |
tree | ba8c4471c5433aae86ecd61756a0ea915163c6b6 /src | |
parent | b0a13d871d9b72da83380d4564ae947ace733b5d (diff) |
Fix segfault with Option NoAccel
Fixes bug #27725
Breakage from commit 38e86827
Diffstat (limited to 'src')
-rw-r--r-- | src/lx_memory.c | 2 |
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)); |