diff options
author | ToadKing <toadking@toadking.com> | 2013-08-11 16:14:27 -0400 |
---|---|---|
committer | ToadKing <toadking@toadking.com> | 2013-08-11 16:14:27 -0400 |
commit | 31c977f6797323673208b7c4186a0e69dee4eca6 (patch) | |
tree | 4b0d40435b8db8e7e39640e96e48825361b34626 /src/library_openal.js | |
parent | 5bb74d2c5ed57a7b52e1a3d01404edfb7a9945ea (diff) |
fix bug in alcDestroyContext
Diffstat (limited to 'src/library_openal.js')
-rw-r--r-- | src/library_openal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library_openal.js b/src/library_openal.js index c55415b8..266772b2 100644 --- a/src/library_openal.js +++ b/src/library_openal.js @@ -41,7 +41,7 @@ var LibraryOpenAL = { alcDestroyContext: function(context) { // Stop playback, etc - clearInterval(context.interval); + clearInterval(AL.contexts[context - 1].interval); }, alcCloseDevice: function(device) { |