diff options
author | Aapo Tahkola <aet@rasterburn.org> | 2005-02-08 04:46:39 +0000 |
---|---|---|
committer | Aapo Tahkola <aet@rasterburn.org> | 2005-02-08 04:46:39 +0000 |
commit | 1764b78ee9ebb7c0d9740f275b97f3354fc32aa9 (patch) | |
tree | a87393dba93571f30ad3ba430139ad87a272bca1 /src/mesa/drivers/dri/r300/r300_render.c | |
parent | 315afce941a7247ecf79da520d974a59534e8779 (diff) | |
download | external_mesa3d-1764b78ee9ebb7c0d9740f275b97f3354fc32aa9.zip external_mesa3d-1764b78ee9ebb7c0d9740f275b97f3354fc32aa9.tar.gz external_mesa3d-1764b78ee9ebb7c0d9740f275b97f3354fc32aa9.tar.bz2 |
fog + immediate mode = bad things
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_render.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_render.c | 5 |
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 9a79b97..51d721c 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); |