From 54f4f44843a2ea422cf78a04720562ecc1a5abfd Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 31 May 2004 00:58:34 +0000 Subject: fixup mach64 for newer build/types --- src/mesa/drivers/dri/mach64/mach64_context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers/dri/mach64/mach64_context.c') diff --git a/src/mesa/drivers/dri/mach64/mach64_context.c b/src/mesa/drivers/dri/mach64/mach64_context.c index 771204153fb..bac6b2d7eff 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; -- cgit v1.2.3