diff options
Diffstat (limited to 'src/library_openal.js')
-rw-r--r-- | src/library_openal.js | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/library_openal.js b/src/library_openal.js index aac6e704..b785a89f 100644 --- a/src/library_openal.js +++ b/src/library_openal.js @@ -73,6 +73,12 @@ var LibraryOpenAL = { } }, + alcGetError__deps: ['alGetError'], + alcGetError: function(device) { + // We have only one audio device, so just return alGetError. + return _alGetError(); + }, + alDeleteSources: function(count, sources) { if (!AL.currentContext) { @@ -564,10 +570,6 @@ var LibraryOpenAL = { alcGetProcAddress: function(device, fname) { return 0; }, - - alcGetError: function(device) { - return 0; - }, }; autoAddDeps(LibraryOpenAL, '$AL'); |