? depend Index: via_screen.c =================================================================== RCS file: /cvs/xorg/xc/extras/Mesa/src/mesa/drivers/dri/unichrome/via_screen.c,v retrieving revision 1.1.1.3 diff -u -r1.1.1.3 via_screen.c --- via_screen.c 31 Jul 2005 16:47:16 -0000 1.1.1.3 +++ via_screen.c 28 Aug 2005 12:34:59 -0000 @@ -163,8 +163,8 @@ gDRIPriv->agp.handle, gDRIPriv->agp.size, (drmAddress *)&viaScreen->agpLinearStart) != 0) { - FREE(viaScreen); - drmUnmap(viaScreen->reg, gDRIPriv->agp.size); + drmUnmap(viaScreen->reg, gDRIPriv->regs.size); + FREE(viaScreen); sPriv->private = NULL; __driUtilMessage("viaInitDriver: drmMap agp failed"); return GL_FALSE; Index: via_texcombine.c =================================================================== RCS file: /cvs/xorg/xc/extras/Mesa/src/mesa/drivers/dri/unichrome/via_texcombine.c,v retrieving revision 1.1.1.2 diff -u -r1.1.1.2 via_texcombine.c --- via_texcombine.c 31 Jul 2005 16:47:16 -0000 1.1.1.2 +++ via_texcombine.c 28 Aug 2005 12:34:59 -0000 @@ -111,7 +111,7 @@ unsigned constant_alpha[3]; unsigned bias_alpha = 0; unsigned abc_alpha = 0; - const struct gl_texture_unit const * texUnit = + const struct gl_texture_unit * texUnit = &vmesa->glCtx->Texture.Unit[unit]; unsigned env_color[4];