diff options
author | Chris Robinson <[email protected]> | 2012-01-09 23:37:03 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-01-09 23:37:03 -0800 |
commit | 535091e36c994b9c9363728cfa348f70ba545811 (patch) | |
tree | b138481972bdec757ab4aee414f389987bfe820e /Alc | |
parent | 5b7f8c1816544102011815ee570093c3ae7d339e (diff) |
Make LockDevice, LockContext, etc, inline
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 21 |
1 files changed, 0 insertions, 21 deletions
@@ -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 |