diff options
author | Alex Deucher <alex@botch2.com> | 2007-03-06 02:38:02 -0500 |
---|---|---|
committer | Alex Deucher <alex@botch2.com> | 2007-03-13 00:17:30 -0400 |
commit | 7da75a99159f80f215ee409377128f7dcbc4064d (patch) | |
tree | 9fc319f44fcca1ad173517c63ee6f8c7389fb117 | |
parent | ba0b2492269ea81e91f7ce4fb8da618187a3997f (diff) |
fix memoryBase
pSmi->FBOffset is the offset from the start of the framebuffer
pScrn->fbOffset is the aperture offset where the framebuffer
starts
-rw-r--r-- | src/smi_exa.c | 2 |
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; |