projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7298e71
)
fixed very obvious fog bug
author
Keith Whitwell
<keith@tungstengraphics.com>
Tue, 7 Nov 2000 19:17:23 +0000
(19:17 +0000)
committer
Keith Whitwell
<keith@tungstengraphics.com>
Tue, 7 Nov 2000 19:17:23 +0000
(19:17 +0000)
src/mesa/swrast_setup/ss_vb.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast_setup/ss_vb.c
b/src/mesa/swrast_setup/ss_vb.c
index 6849c0c0802e2084293703e8e1acdf9e92e65cf7..5e0f4dc84b3b4dcebdf98d42452bc0404caf4723 100644
(file)
--- a/
src/mesa/swrast_setup/ss_vb.c
+++ b/
src/mesa/swrast_setup/ss_vb.c
@@
-168,6
+168,9
@@
_swsetup_choose_rastersetup_func(GLcontext *ctx)
if (ctx->Point._Attenuated)
funcindex |= EYE;
+
+ if (ctx->Fog.Enabled)
+ funcindex |= FOG;
}
else {
funcindex = INDEX;