state.depth.range alpha value should be 1, not 0 (bug #14733)

This commit is contained in:
Roland Scheidegger 2008-03-01 02:56:08 +01:00
parent 3c5a1e4c2d
commit 642d5ee8c5

View file

@ -349,7 +349,7 @@ _mesa_fetch_state(GLcontext *ctx, const gl_state_index state[],
value[0] = ctx->Viewport.Near; /* near */
value[1] = ctx->Viewport.Far; /* far */
value[2] = ctx->Viewport.Far - ctx->Viewport.Near; /* far - near */
value[3] = 0;
value[3] = 1.0;
return;
case STATE_FRAGMENT_PROGRAM:
{