aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-07-06 02:58:43 -0700
committerChris Robinson <[email protected]>2011-07-06 02:58:43 -0700
commitbed264ad776f9e27390394a8e62a4e0a9b39b382 (patch)
treede38eaf170f762a83271247797c75972ef3533ec /OpenAL32
parentf8be0448b01b0fa9e06c5f96de1384caf1d9477f (diff)
Use a Lock/UnlockDevice function instead of locking a NULL context
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alMain.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 1fb75e18..f58da036 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -487,6 +487,8 @@ void AppendCaptureDeviceList(const ALCchar *name);
ALCvoid alcSetError(ALCdevice *device, ALenum errorCode);
+ALCvoid LockDevice(ALCdevice *device);
+ALCvoid UnlockDevice(ALCdevice *device);
ALCvoid LockContext(ALCcontext *context);
ALCvoid UnlockContext(ALCcontext *context);