diff options
author | Markus Amsler <[email protected]> | 2008-03-09 17:51:11 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2008-03-09 17:54:32 -0600 |
commit | 507da247679e061cef765b9d4cc37470c633cccc (patch) | |
tree | afd0e8f901887da2a0b4bdb098ed831268726298 /src/mesa/main/context.c | |
parent | 882e0e01799cf99dd5ec97786239af4b269125a9 (diff) |
init vertex weight attrib to (1,0,0,0)
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 69c361f63e2..63dc1379e9b 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 ); |