projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ed16bd
)
get fog going(for real)
author
Aapo Tahkola
<aet@rasterburn.org>
Tue, 11 Apr 2006 11:20:43 +0000
(11:20 +0000)
committer
Aapo Tahkola
<aet@rasterburn.org>
Tue, 11 Apr 2006 11:20:43 +0000
(11:20 +0000)
src/mesa/drivers/dri/r300/r300_state.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_state.c
b/src/mesa/drivers/dri/r300/r300_state.c
index
466b1cb
..
56052d6
100644
(file)
--- a/
src/mesa/drivers/dri/r300/r300_state.c
+++ b/
src/mesa/drivers/dri/r300/r300_state.c
@@
-423,7
+423,6
@@
static void r300Enable(GLcontext* ctx, GLenum cap, GLboolean state)
r300->hw.fogs.cmd[R300_FOGS_STATE] |=
R300_FOG_ENABLE;
- r300Enable(ctx, GL_FOG, ctx->Fog.Enabled);
ctx->Driver.Fogfv( ctx, GL_FOG_MODE, NULL );
ctx->Driver.Fogfv( ctx, GL_FOG_DENSITY, &ctx->Fog.Density );
ctx->Driver.Fogfv( ctx, GL_FOG_START, &ctx->Fog.Start );