projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
315afce
)
fog + immediate mode = bad things
author
Aapo Tahkola
<aet@rasterburn.org>
Tue, 8 Feb 2005 04:46:39 +0000
(
04:46
+0000)
committer
Aapo Tahkola
<aet@rasterburn.org>
Tue, 8 Feb 2005 04:46:39 +0000
(
04:46
+0000)
src/mesa/drivers/dri/r300/r300_render.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_render.c
b/src/mesa/drivers/dri/r300/r300_render.c
index 9a79b97cc049ad9494e37efa6b32f5e40cf9b05c..51d721cdb7948a679a54806f59716ee526e98bf8 100644
(file)
--- a/
src/mesa/drivers/dri/r300/r300_render.c
+++ b/
src/mesa/drivers/dri/r300/r300_render.c
@@
-657,6
+657,11
@@
static GLboolean r300_run_render(GLcontext *ctx,
#if 1
#if 1
+ /* I dont recall fog locking up before polygon offset modifications.
+ Or then having fog on only locks up if immediate mode is on... */
+ if(ctx->Fog.Enabled)
+ return GL_FALSE;
+
return r300_run_immediate_render(ctx, stage);
#else
return r300_run_vb_render(ctx, stage);