fix fog.End error

This commit is contained in:
Brian Paul 2003-09-02 13:36:03 +00:00
parent b3680df593
commit 0d4da529bd

View file

@ -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:
{