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 bac6b2d7eff7924a5d1c305afd843613b64334e5..0bbda3a43dec31abaa5374f5de39e4f0a17ea8bf 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;