mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +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)
|
void mutex_lock(mutex_t *mutex)
|
||||||
{
|
{
|
||||||
#ifdef RENDERTYPEWIN
|
#ifdef RENDERTYPEWIN
|
||||||
return WaitForSingleObject(*mutex, INFINITE);
|
WaitForSingleObject(*mutex, INFINITE);
|
||||||
#else
|
#else
|
||||||
return SDL_AtomicLock(mutex);
|
SDL_AtomicLock(mutex);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue