diff options
author | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2013-03-13 19:19:54 -0400 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-03-15 11:53:16 -0700 |
commit | 77cdcddb02891426c3b972fe83c013677f957ead (patch) | |
tree | 981a59c435dfead1121f4ae019ba4cd418e31288 /src/library_openal.js | |
parent | d12ae480205a5a44b2d7d583ab7b04b1680e0c59 (diff) |
Fix alGenBuffers
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 58b394ba..7665c23f 100644 --- a/src/library_openal.js +++ b/src/library_openal.js @@ -201,7 +201,7 @@ var LibraryOpenAL = { } for (var i = 0; i < count; ++i) { AL.currentContext.buf.push({buf: null}); - {{{ makeSetValue('buffers', 'i', 'AL.currentContext.buf.length - 1', 'i32') }}}; + {{{ makeSetValue('buffers', 'i', 'AL.currentContext.buf.length', 'i32') }}}; } }, |