projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8910da5
)
r300: Fix EXP2 fog
author
Maciej Cencora
<m.cencora@gmail.com>
Sat, 24 Jan 2009 13:58:17 +0000
(14:58 +0100)
committer
Brian Paul
<brianp@vmware.com>
Wed, 4 Feb 2009 15:01:52 +0000
(08:01 -0700)
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 d02034f039b93882c4880882a9dfe9709dda317c..c192fecca498651b5644a7e84ea2bd2ad41d05c9 100644
(file)
--- a/
src/mesa/drivers/dri/r300/r300_state.c
+++ b/
src/mesa/drivers/dri/r300/r300_state.c
@@
-783,6
+783,7
@@
static void r300Fogfv(GLcontext * ctx, GLenum pname, const GLfloat * param)
R300_FG_FOG_BLEND_FN_EXP2;
fogScale.f = 0.3 * ctx->Fog.Density;
fogStart.f = 0.0;
+ break;
default:
return;
}