summaryrefslogtreecommitdiff
path: root/src/smi_exa.c
diff options
context:
space:
mode:
authorAlex Deucher <alex@botch2.com>2007-03-06 02:42:52 -0500
committerAlex Deucher <alex@botch2.com>2007-03-13 00:17:30 -0400
commit3e62ec8736ea9ea64a2c0c5c41df9c6d742397ca (patch)
tree4c3da08b9c7897ff04efc08b1fa8aba4ab4975b4 /src/smi_exa.c
parent7da75a99159f80f215ee409377128f7dcbc4064d (diff)
revert the last commit.
FBBase already take the register offset into account.
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;