projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6338e6
)
Corrected the maximum vertex size argument of _tnl_init_vertices.
author
Felix Kuehling
<fxkuehl@gmx.de>
Sun, 29 Feb 2004 20:43:54 +0000
(20:43 +0000)
committer
Felix Kuehling
<fxkuehl@gmx.de>
Sun, 29 Feb 2004 20:43:54 +0000
(20:43 +0000)
src/mesa/drivers/dri/savage/savagetris.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/savage/savagetris.c
b/src/mesa/drivers/dri/savage/savagetris.c
index
9d546bb
..
8e9f33d
100644
(file)
--- 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;
}