Admin message

WARNING! Gitlab maintenance operation scheduled for Monday, 20 April between 12:00 and 14:00 (CET). During this time window, short service interruptions (less than 5 minutes) may occur. Thank you in advance for your understanding.

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]

Assignee Loading
Time tracking Loading