mirror of
https://github.com/libretro/ppsspp.git
synced 2025-01-31 05:43:14 +00:00
We can use sincosf again on Android - the bug in the NDK has been fixed.
This commit is contained in:
parent
a893c213de
commit
37413f8119
@ -48,7 +48,7 @@ inline float vfpu_cos(float angle) {
|
||||
inline void vfpu_sincos(float angle, float &sine, float &cosine) {
|
||||
angle -= floorf(angle * 0.25f) * 4.f;
|
||||
angle *= (float)M_PI_2;
|
||||
#if defined(__linux__) && !defined(ANDROID) // TODO: Remove this check when we upgrade NDK on the buildbot
|
||||
#if defined(__linux__)
|
||||
sincosf(angle, &sine, &cosine);
|
||||
#else
|
||||
sine = sinf(angle);
|
||||
|
Loading…
x
Reference in New Issue
Block a user