summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarkus Amsler <markus.amsler@oribi.org>2008-03-09 17:51:11 -0600
committerBrian <brian.paul@tungstengraphics.com>2008-03-09 17:54:32 -0600
commit507da247679e061cef765b9d4cc37470c633cccc (patch)
treeafd0e8f901887da2a0b4bdb098ed831268726298 /src
parent882e0e01799cf99dd5ec97786239af4b269125a9 (diff)
init vertex weight attrib to (1,0,0,0)
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 69c361f63e..63dc1379e9 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -777,7 +777,7 @@ _mesa_init_current(GLcontext *ctx)
}
/* redo special cases: */
- ASSIGN_4V( ctx->Current.Attrib[VERT_ATTRIB_WEIGHT], 1.0, 0.0, 0.0, 1.0 );
+ ASSIGN_4V( ctx->Current.Attrib[VERT_ATTRIB_WEIGHT], 1.0, 0.0, 0.0, 0.0 );
ASSIGN_4V( ctx->Current.Attrib[VERT_ATTRIB_NORMAL], 0.0, 0.0, 1.0, 1.0 );
ASSIGN_4V( ctx->Current.Attrib[VERT_ATTRIB_COLOR0], 1.0, 1.0, 1.0, 1.0 );
ASSIGN_4V( ctx->Current.Attrib[VERT_ATTRIB_COLOR1], 0.0, 0.0, 0.0, 1.0 );