diff options
Diffstat (limited to 'glslang/OSDependent/Windows/ossource.cpp')
-rw-r--r-- | glslang/OSDependent/Windows/ossource.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/glslang/OSDependent/Windows/ossource.cpp b/glslang/OSDependent/Windows/ossource.cpp index fa372a2c..870840c5 100644 --- a/glslang/OSDependent/Windows/ossource.cpp +++ b/glslang/OSDependent/Windows/ossource.cpp @@ -113,7 +113,7 @@ HANDLE GlobalLock; void InitGlobalLock() { - GlobalLock = CreateMutex(nullptr, false, nullptr); + GlobalLock = CreateMutex(0, false, 0); } void GetGlobalLock() @@ -128,7 +128,7 @@ void ReleaseGlobalLock() unsigned int __stdcall EnterGenericThread (void* entry) { - return ((TThreadEntrypoint)entry)(nullptr); + return ((TThreadEntrypoint)entry)(0); } //#define DUMP_COUNTERS |