summaryrefslogtreecommitdiff
path: root/src/smi_exa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/smi_exa.c')
-rw-r--r--src/smi_exa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smi_exa.c b/src/smi_exa.c
index 2d9b1b2..947714c 100644
--- a/src/smi_exa.c
+++ b/src/smi_exa.c
@@ -75,7 +75,7 @@ SMI_EXAInit(ScreenPtr pScreen)
SMI_EngineReset(pScrn);
/* Memory Manager */
- pSmi->EXADriverPtr->memoryBase = pSmi->FBBase + pScrn->fbOffset;
+ pSmi->EXADriverPtr->memoryBase = pSmi->FBBase + pSmi->FBOffset;
pSmi->EXADriverPtr->memorySize = pSmi->FBReserved - 1024;
pSmi->EXADriverPtr->offScreenBase = pSmi->width * pSmi->height * pSmi->Bpp + 1024;