Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cb82b7f1 authored by Chih-hung Hsieh's avatar Chih-hung Hsieh Committed by Android Git Automerger
Browse files

am a58336f6: Merge "Use fabsf() rather than abs()"

* commit 'a58336f6':
  Use fabsf() rather than abs()
parents 804e2937 a58336f6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -128,7 +128,7 @@ inline void computeBufferSize(int* totalVertexCount, int* totalIndexCount,
}

inline bool needsExtraForEdge(float firstAlpha, float secondAlpha) {
    return abs(firstAlpha - secondAlpha) > ALPHA_THRESHOLD;
    return fabsf(firstAlpha - secondAlpha) > ALPHA_THRESHOLD;
}

/**