mesa: pre-swizzle normal scale state value

This commit is contained in:
Keith Whitwell
2008-05-24 13:23:06 +01:00
parent a2b1c46535
commit e1590abb17
2 changed files with 6 additions and 3 deletions

View File

@@ -397,7 +397,11 @@ _mesa_fetch_state(GLcontext *ctx, const gl_state_index state[],
case STATE_INTERNAL:
switch (state[1]) {
case STATE_NORMAL_SCALE:
ASSIGN_4V(value, ctx->_ModelViewInvScale, 0, 0, 1);
ASSIGN_4V(value,
ctx->_ModelViewInvScale,
ctx->_ModelViewInvScale,
ctx->_ModelViewInvScale,
1);
return;
case STATE_TEXRECT_SCALE:
{