diff options
author | Roland Scheidegger <[email protected]> | 2008-03-01 02:56:08 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2008-03-01 02:56:08 +0100 |
commit | 642d5ee8c51cdbab2b498c3413f29023f8ece929 (patch) | |
tree | 68684e152b0396203b0803bc48f20d72bd8d68ec | |
parent | 3c5a1e4c2d20da0e8581df22d82a45a4156e0894 (diff) |
state.depth.range alpha value should be 1, not 0 (bug #14733)
-rw-r--r-- | src/mesa/shader/prog_statevars.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/prog_statevars.c b/src/mesa/shader/prog_statevars.c index c5dda018613..da0bb85f16f 100644 --- a/src/mesa/shader/prog_statevars.c +++ b/src/mesa/shader/prog_statevars.c @@ -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: { |