diff options
author | Markus Amsler <[email protected]> | 2008-03-09 17:51:21 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2008-03-09 17:51:21 -0600 |
commit | 2f23025dfe5e9139dc4ef6c459ac818d1857009c (patch) | |
tree | 2062a4790c4bf55f68c2703d0915c0163ba01cf7 | |
parent | 1867eac23058d133236320ff9fb3a5cbe8e59a5d (diff) |
init vertex weight attrib to (1,0,0,0)
-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 ce634712c92..9de515d8405 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -754,7 +754,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 ); |