summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/mach64/mach64_context.c
diff options
context:
space:
mode:
authorDave Airlie <airliedfreedesktop.org>2004-05-31 00:58:34 +0000
committerDave Airlie <airliedfreedesktop.org>2004-05-31 00:58:34 +0000
commit54f4f44843a2ea422cf78a04720562ecc1a5abfd (patch)
tree30b978cbbdc1df2a4be3b5d0181c5824da2bf9fe /src/mesa/drivers/dri/mach64/mach64_context.c
parent11b3028e7ba2fc3b985ab84d7227c290608f83f6 (diff)
fixup mach64 for newer build/types
Diffstat (limited to 'src/mesa/drivers/dri/mach64/mach64_context.c')
-rw-r--r--src/mesa/drivers/dri/mach64/mach64_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/mach64/mach64_context.c b/src/mesa/drivers/dri/mach64/mach64_context.c
index 771204153f..bac6b2d7ef 100644
--- a/src/mesa/drivers/dri/mach64/mach64_context.c
+++ b/src/mesa/drivers/dri/mach64/mach64_context.c
@@ -143,8 +143,8 @@ GLboolean mach64CreateContext( const __GLcontextModes *glVisual,
driParseConfigFiles (&mmesa->optionCache, &mach64Screen->optionCache,
mach64Screen->driScreen->myNum, "mach64");
- mmesa->sarea = (ATISAREAPrivPtr)((char *)driScreen->pSAREA +
- sizeof(drm_sarea_t));
+ mmesa->sarea = (drm_mach64_sarea_t *)((char *)driScreen->pSAREA +
+ sizeof(drm_mach64_sarea_t));
mmesa->CurrentTexObj[0] = NULL;
mmesa->CurrentTexObj[1] = NULL;