aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorFelix Kuehling <[email protected]>2004-02-29 20:43:54 +0000
committerFelix Kuehling <[email protected]>2004-02-29 20:43:54 +0000
commitcac8d425a8147210dafaa25cefd7becb9e23c446 (patch)
tree3114afc24c5cc7e28d3745c07a8aa6ffaab64a29 /src/mesa/drivers/dri
parentc6338e60ffac532a4e10013d5720597a431cbc34 (diff)
Corrected the maximum vertex size argument of _tnl_init_vertices.
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/savage/savagetris.c2
1 files changed, 1 insertions, 1 deletions
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;
}