[Video] remove guFogTableIndexToW
This commit is contained in:
parent
86c6377b5d
commit
b208a0646a
|
@ -545,10 +545,6 @@ int InitGfx()
|
|||
}
|
||||
}
|
||||
fog_t[0] = 0;
|
||||
// for (int f = 0; f < 64; f++)
|
||||
// {
|
||||
// WriteTrace(TraceRDP, TraceDebug, "fog[%d]=%d->%f", f, fog_t[f], guFogTableIndexToW(f));
|
||||
// }
|
||||
grFogTable(fog_t);
|
||||
grVertexLayout(GR_PARAM_FOG_EXT, offsetof(VERTEX, f), GR_PARAM_ENABLE);
|
||||
}
|
||||
|
|
|
@ -1591,13 +1591,6 @@ void gfxFogMode(GrFogMode_t mode)
|
|||
need_to_compile = 1;
|
||||
}
|
||||
|
||||
FX_ENTRY float FX_CALL
|
||||
guFogTableIndexToW(int i)
|
||||
{
|
||||
WriteTrace(TraceGlitch, TraceDebug, "i: %d", i);
|
||||
return (float)(pow(2.0, 3.0 + (double)(i >> 2)) / (8 - (i & 3)));
|
||||
}
|
||||
|
||||
FX_ENTRY void FX_CALL
|
||||
guFogGenerateLinear(GrFog_t *fogtable,
|
||||
float nearZ, float farZ)
|
||||
|
|
|
@ -1536,13 +1536,6 @@ void gfxFogMode(GrFogMode_t mode)
|
|||
grDisplayGLError("gfxFogMode");
|
||||
}
|
||||
|
||||
FX_ENTRY float FX_CALL
|
||||
guFogTableIndexToW(int i)
|
||||
{
|
||||
WriteTrace(TraceGlitch, TraceDebug, "i: %d", i);
|
||||
return (float)(pow(2.0, 3.0 + (double)(i >> 2)) / (8 - (i & 3)));
|
||||
}
|
||||
|
||||
FX_ENTRY void FX_CALL
|
||||
guFogGenerateLinear(GrFog_t * /*fogtable*/,
|
||||
float nearZ, float farZ)
|
||||
|
|
Loading…
Reference in New Issue