aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2008-03-01 02:57:01 +0100
committerRoland Scheidegger <[email protected]>2008-03-01 02:57:01 +0100
commit096e35d05ff6d6ffc4c309ed46c527c817ac2f6f (patch)
tree0c8acf5307f9bf4ea4247d9f0494b5d8c4eb4ef2
parent8998f52b97caf4e42439085b9ce63d088bfbaa87 (diff)
state.depth.range alpha value should be 1, not 0 (bug #14733)
-rw-r--r--src/mesa/shader/prog_statevars.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/prog_statevars.c b/src/mesa/shader/prog_statevars.c
index aa1e6e1269d..76295568ac4 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:
{