From: Markus Amsler Date: Sun, 9 Mar 2008 23:51:11 +0000 (-0600) Subject: init vertex weight attrib to (1,0,0,0) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=507da247679e061cef765b9d4cc37470c633cccc;p=mesa.git init vertex weight attrib to (1,0,0,0) --- 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 );