projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3680df
)
fix fog.End error
author
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 2 Sep 2003 13:36:03 +0000
(13:36 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 2 Sep 2003 13:36:03 +0000
(13:36 +0000)
src/mesa/main/program.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/program.c
b/src/mesa/main/program.c
index 07ab420bcf7bcc35f7a55215bff09e7ac72e9b80..fe816e344b7e6856bb6097476b963acd8fdd10de 100644
(file)
--- a/
src/mesa/main/program.c
+++ b/
src/mesa/main/program.c
@@
-590,7
+590,7
@@
_mesa_fetch_state(GLcontext *ctx, const enum state_index state[],
value[0] = ctx->Fog.Density;
value[1] = ctx->Fog.Start;
value[2] = ctx->Fog.End;
- value[3] = 1.0F / (ctx->Fog.End - ctx->Fog.
End
);
+ value[3] = 1.0F / (ctx->Fog.End - ctx->Fog.
Start
);
return;
case STATE_CLIPPLANE:
{