mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
Fix RENDERTYPE=WIN build
git-svn-id: https://svn.eduke32.com/eduke32@7960 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
0aea2e92c6
commit
284af9f5d9
1 changed files with 2 additions and 2 deletions
|
@ -21,9 +21,9 @@ int32_t mutex_init(mutex_t *mutex)
|
|||
void mutex_lock(mutex_t *mutex)
|
||||
{
|
||||
#ifdef RENDERTYPEWIN
|
||||
return WaitForSingleObject(*mutex, INFINITE);
|
||||
WaitForSingleObject(*mutex, INFINITE);
|
||||
#else
|
||||
return SDL_AtomicLock(mutex);
|
||||
SDL_AtomicLock(mutex);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue