summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 947714c..2d9b1b2 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 + pSmi->FBOffset;
+ pSmi->EXADriverPtr->memoryBase = pSmi->FBBase + pScrn->fbOffset;
pSmi->EXADriverPtr->memorySize = pSmi->FBReserved - 1024;
pSmi->EXADriverPtr->offScreenBase = pSmi->width * pSmi->height * pSmi->Bpp + 1024;