Floating-point leftovers: lib_rend/lib_rend_fx.c, makeCustomLsSetup()
Bug description
In the function makeCustomLsSetup()
there is floating-point code left, namely:
- fabsf()
- EPSILON
- rendCustomLsLayout.elevation[]
IF( fabsf( rendCustomLsLayout.elevation[i] ) > EPSILON )
{
customLs.is_planar_setup = 0;
move16();
BREAK;
}
Also, instead of rendCustomLsLayout.elevation[i]
the comparison should be made against rendCustomLsLayout.elevation_fx[i]