mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
fog + immediate mode = bad things
This commit is contained in:
parent
315afce941
commit
1764b78ee9
1 changed files with 5 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue