oops fix a bug I introduced
authorDave Airlie <airliedfreedesktop.org>
Mon, 7 Jun 2004 12:35:38 +0000 (12:35 +0000)
committerDave Airlie <airliedfreedesktop.org>
Mon, 7 Jun 2004 12:35:38 +0000 (12:35 +0000)
src/mesa/drivers/dri/mach64/mach64_context.c

index bac6b2d..0bbda3a 100644 (file)
@@ -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;