summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorDave Airlie <airliedfreedesktop.org>2004-06-07 12:35:38 +0000
committerDave Airlie <airliedfreedesktop.org>2004-06-07 12:35:38 +0000
commit6fc70e87ed34b641957448c257405d5afdad1157 (patch)
treea7380e04cc92b627d863f6c63b433113d2dd4a1c /src/mesa/drivers
parentcbf863ee71196fb06e3d2466a2d4c813dc36bfe3 (diff)
oops fix a bug I introduced
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/mach64/mach64_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/mach64/mach64_context.c b/src/mesa/drivers/dri/mach64/mach64_context.c
index bac6b2d7eff..0bbda3a43de 100644
--- a/src/mesa/drivers/dri/mach64/mach64_context.c
+++ b/src/mesa/drivers/dri/mach64/mach64_context.c
@@ -144,7 +144,7 @@ GLboolean mach64CreateContext( const __GLcontextModes *glVisual,
mach64Screen->driScreen->myNum, "mach64");
mmesa->sarea = (drm_mach64_sarea_t *)((char *)driScreen->pSAREA +
- sizeof(drm_mach64_sarea_t));
+ sizeof(drm_sarea_t));
mmesa->CurrentTexObj[0] = NULL;
mmesa->CurrentTexObj[1] = NULL;