From: Dave Airlie Date: Mon, 7 Jun 2004 12:35:38 +0000 (+0000) Subject: oops fix a bug I introduced X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6fc70e87ed34b641957448c257405d5afdad1157;p=mesa.git oops fix a bug I introduced --- 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;