From cac8d425a8147210dafaa25cefd7becb9e23c446 Mon Sep 17 00:00:00 2001 From: Felix Kuehling Date: Sun, 29 Feb 2004 20:43:54 +0000 Subject: [PATCH] Corrected the maximum vertex size argument of _tnl_init_vertices. --- src/mesa/drivers/dri/savage/savagetris.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/savage/savagetris.c b/src/mesa/drivers/dri/savage/savagetris.c index 9d546bbf5da..8e9f33d27d4 100644 --- a/src/mesa/drivers/dri/savage/savagetris.c +++ b/src/mesa/drivers/dri/savage/savagetris.c @@ -901,7 +901,7 @@ void savageInitTriFuncs( GLcontext *ctx ) tnl->Driver.Render.Interp = _tnl_interp; _tnl_init_vertices( ctx, ctx->Const.MaxArrayLockSize + 12, - 22 * sizeof(GLfloat) ); + (6 + 2*ctx->Const.MaxTextureUnits) * sizeof(GLfloat) ); SAVAGE_CONTEXT(ctx)->verts = (char *)tnl->clipspace.vertex_buf; } -- 2.30.2