Skip to content

Commit 485967f

Browse files
committed
scalar: scalar fallback patched to compile.
1 parent dc99a52 commit 485967f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mojoal.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -856,6 +856,7 @@ static void calculate_distance_attenuation_and_angle_scalar(const ALCcontext *ct
856856

857857
// Calculate angle
858858
const ALfloat mags = magnitude_scalar(at) * magnitude_scalar(V);
859+
ALfloat radians;
859860
if (mags == 0.0f) {
860861
radians = 0.0f;
861862
} else {

0 commit comments

Comments
 (0)