diff options
author | Felix Kuehling <fxkuehl@gmx.de> | 2004-02-29 20:43:54 +0000 |
---|---|---|
committer | Felix Kuehling <fxkuehl@gmx.de> | 2004-02-29 20:43:54 +0000 |
commit | cac8d425a8147210dafaa25cefd7becb9e23c446 (patch) | |
tree | 3114afc24c5cc7e28d3745c07a8aa6ffaab64a29 | |
parent | c6338e60ffac532a4e10013d5720597a431cbc34 (diff) |
Corrected the maximum vertex size argument of _tnl_init_vertices.
-rw-r--r-- | src/mesa/drivers/dri/savage/savagetris.c | 2 |
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 9d546bbf5d..8e9f33d27d 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; } |