diff options
author | Chris Robinson <[email protected]> | 2016-11-23 01:32:14 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-11-23 01:32:14 -0800 |
commit | 10473285bae659a3ae863df177564ef208d84b1d (patch) | |
tree | 54b9fd303046d985fe8230e9a71f1f72485fe783 | |
parent | 6886f77cbc02b93db3682acb27eb767c6541fba0 (diff) |
Fix an infinite loop
-rw-r--r-- | OpenAL32/alSource.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index 9ef58115..81cd44cd 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -133,6 +133,7 @@ static inline ALvoice *GetSourceVoice(const ALsource *source, const ALCcontext * { if(voice->Source == source) return voice; + ++voice; } return NULL; } |