From c7eb0b7393231a137c31f75e0654214a08bc51a9 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 23 Aug 2016 19:17:17 -0700 Subject: Don't pass the context's distance model as the source's --- OpenAL32/Include/alListener.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenAL32/Include') diff --git a/OpenAL32/Include/alListener.h b/OpenAL32/Include/alListener.h index a10d6728..b89a00e7 100644 --- a/OpenAL32/Include/alListener.h +++ b/OpenAL32/Include/alListener.h @@ -19,6 +19,8 @@ struct ALlistenerProps { ATOMIC(ALfloat) DopplerFactor; ATOMIC(ALfloat) DopplerVelocity; ATOMIC(ALfloat) SpeedOfSound; + ATOMIC(ALboolean) SourceDistanceModel; + ATOMIC(enum DistanceModel) DistanceModel; ATOMIC(struct ALlistenerProps*) next; }; @@ -49,6 +51,9 @@ typedef struct ALlistener { ALfloat DopplerFactor; ALfloat SpeedOfSound; + + ALboolean SourceDistanceModel; + enum DistanceModel DistanceModel; } Params; } ALlistener; -- cgit v1.2.3