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

* commit 'a58336f6c8aa44373485e5a6d7ec32677387a935':
  Use fabsf() rather than abs()
This commit is contained in:
Chih-hung Hsieh
2014-11-17 22:59:11 +00:00
committed by Android Git Automerger

View File

@@ -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;
}
/**