summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/sis/sis_context.c
diff options
context:
space:
mode:
authorThomas Hellström <thomas@tungstengraphics.com>2006-07-10 12:20:24 +0000
committerThomas Hellström <thomas@tungstengraphics.com>2006-07-10 12:20:24 +0000
commit85b4ae065435c8b4c4696b75e95f897130ee8bdf (patch)
treec677c5e8d73748d7d34cd68ca2b3204199bbb416 /src/mesa/drivers/dri/sis/sis_context.c
parentb9920ba7b7fd8ed9a3c45e0cebafd28b419f73e3 (diff)
The SiS and Unichrome drivers assume that the handle to the
AGP map is equivalent to the AGP physical address. Fix this.
Diffstat (limited to 'src/mesa/drivers/dri/sis/sis_context.c')
-rw-r--r--src/mesa/drivers/dri/sis/sis_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/sis/sis_context.c b/src/mesa/drivers/dri/sis/sis_context.c
index 7e86c1127c..a300a080ec 100644
--- a/src/mesa/drivers/dri/sis/sis_context.c
+++ b/src/mesa/drivers/dri/sis/sis_context.c
@@ -272,7 +272,7 @@ sisCreateContext( const __GLcontextModes *glVisual,
/* set AGP */
smesa->AGPSize = sisScreen->agp.size;
smesa->AGPBase = sisScreen->agp.map;
- smesa->AGPAddr = sisScreen->agp.handle;
+ smesa->AGPAddr = sisScreen->agpBaseOffset;
/* Create AGP command buffer */
if (smesa->AGPSize != 0 &&