From 01eae144e10b0dfccf0ea7176e4b6a2e5b0ddbef Mon Sep 17 00:00:00 2001 From: Philip Rader Date: Sat, 18 Feb 2023 17:03:05 -0700 Subject: [PATCH] Fix not passing pointer into InitializeConditionCariable --- src/win32_thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win32_thread.c b/src/win32_thread.c index 3c1cf27d..0b914abf 100644 --- a/src/win32_thread.c +++ b/src/win32_thread.c @@ -101,7 +101,7 @@ void _glfwPlatformUnlockMutex(_GLFWmutex* mutex) GLFWbool _glfwPlatformCreateCondVar(_GLFWcondvar* condvar) { assert(condvar->win32.allocated == GLFW_FALSE); - InitializeConditionVariable(condvar->win32.condvar); + InitializeConditionVariable(&condvar->win32.condvar); return condvar->win32.allocated = GLFW_TRUE; }