mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-11 14:38:24 +02:00
Simplify flags testing (#7220)
This commit is contained in:
@@ -476,7 +476,7 @@ static int CPU_haveNEON(void)
|
||||
AndroidCpuFamily cpu_family = android_getCpuFamily();
|
||||
if (cpu_family == ANDROID_CPU_FAMILY_ARM) {
|
||||
uint64_t cpu_features = android_getCpuFeatures();
|
||||
if ((cpu_features & ANDROID_CPU_ARM_FEATURE_NEON) != 0) {
|
||||
if (cpu_features & ANDROID_CPU_ARM_FEATURE_NEON) {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user