fix fog.End error
This commit is contained in:
@@ -590,7 +590,7 @@ _mesa_fetch_state(GLcontext *ctx, const enum state_index state[],
|
||||
value[0] = ctx->Fog.Density;
|
||||
value[1] = ctx->Fog.Start;
|
||||
value[2] = ctx->Fog.End;
|
||||
value[3] = 1.0F / (ctx->Fog.End - ctx->Fog.End);
|
||||
value[3] = 1.0F / (ctx->Fog.End - ctx->Fog.Start);
|
||||
return;
|
||||
case STATE_CLIPPLANE:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user