aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-01-09 23:37:03 -0800
committerChris Robinson <[email protected]>2012-01-09 23:37:03 -0800
commit535091e36c994b9c9363728cfa348f70ba545811 (patch)
treeb138481972bdec757ab4aee414f389987bfe820e /Alc
parent5b7f8c1816544102011815ee570093c3ae7d339e (diff)
Make LockDevice, LockContext, etc, inline
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index c741ec55..72a9703a 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1341,17 +1341,6 @@ static ALCdevice *VerifyDevice(ALCdevice *device)
}
-ALCvoid LockDevice(ALCdevice *device)
-{
- EnterCriticalSection(&device->Mutex);
-}
-
-ALCvoid UnlockDevice(ALCdevice *device)
-{
- LeaveCriticalSection(&device->Mutex);
-}
-
-
/* InitContext
*
* Initializes context variables
@@ -1525,16 +1514,6 @@ static ALCcontext *VerifyContext(ALCcontext *context)
}
-ALCvoid LockContext(ALCcontext *context)
-{
- EnterCriticalSection(&context->Device->Mutex);
-}
-
-ALCvoid UnlockContext(ALCcontext *context)
-{
- LeaveCriticalSection(&context->Device->Mutex);
-}
-
/* GetContextRef
*
* Returns the currently active context, and adds a reference without locking