Skip to content

Commit 1bfe7d7

Browse files
committed
Patched to compile on ARM platforms.
1 parent cc338ef commit 1bfe7d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mojoal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,7 @@ static void SDL_TARGETING("neon") calculate_distance_attenuation_and_angle_neon(
948948
radians = SDL_acosf(cosangle);
949949
}
950950

951-
const foat32x4_t R_neon = xyzzy_neon(at_neon, up_neon);
951+
const float32x4_t R_neon = xyzzy_neon(at_neon, up_neon);
952952
*_radians = (dotproduct_neon(R_neon, V_neon) < 0.0f) ? -radians : radians;
953953
*_gain = calculate_distance_attenuation(ctx, src, magnitude_neon(position_neon));
954954
}

0 commit comments

Comments
 (0)