Fix RENDERTYPE=WIN build

git-svn-id: https://svn.eduke32.com/eduke32@7960 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2019-08-13 02:53:34 +00:00 committed by Christoph Oelckers
parent 0aea2e92c6
commit 284af9f5d9

View file

@ -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
}