diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-08-12 14:17:49 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-08-12 14:17:49 -0700 |
commit | f7c3272f10bddee9b0615f59374116634870bf9f (patch) | |
tree | 6a98689f625da2fe4a6c902c4029a2806abb85b0 | |
parent | def22b8d534168bef164f958028bcb17d3ad23aa (diff) | |
parent | 31c977f6797323673208b7c4186a0e69dee4eca6 (diff) |
Merge pull request #1501 from ToadKing/openal_fix
fix bug in alcDestroyContext
-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) { |