fixed very obvious fog bug
This commit is contained in:
@@ -168,6 +168,9 @@ _swsetup_choose_rastersetup_func(GLcontext *ctx)
|
||||
|
||||
if (ctx->Point._Attenuated)
|
||||
funcindex |= EYE;
|
||||
|
||||
if (ctx->Fog.Enabled)
|
||||
funcindex |= FOG;
|
||||
}
|
||||
else {
|
||||
funcindex = INDEX;
|
||||
|
||||
Reference in New Issue
Block a user