summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/r300/r300_render.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_render.c b/src/mesa/drivers/dri/r300/r300_render.c
index 9a79b97cc0..51d721cdb7 100644
--- 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);