diff --git a/source/build/src/mutex.cpp b/source/build/src/mutex.cpp index e88ae8bc2..d66f0db49 100644 --- a/source/build/src/mutex.cpp +++ b/source/build/src/mutex.cpp @@ -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 }