mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 06:14:35 +00:00
Fix not passing pointer into InitializeConditionCariable
This commit is contained in:
parent
1c6231aad4
commit
01eae144e1
@ -101,7 +101,7 @@ void _glfwPlatformUnlockMutex(_GLFWmutex* mutex)
|
|||||||
GLFWbool _glfwPlatformCreateCondVar(_GLFWcondvar* condvar)
|
GLFWbool _glfwPlatformCreateCondVar(_GLFWcondvar* condvar)
|
||||||
{
|
{
|
||||||
assert(condvar->win32.allocated == GLFW_FALSE);
|
assert(condvar->win32.allocated == GLFW_FALSE);
|
||||||
InitializeConditionVariable(condvar->win32.condvar);
|
InitializeConditionVariable(&condvar->win32.condvar);
|
||||||
return condvar->win32.allocated = GLFW_TRUE;
|
return condvar->win32.allocated = GLFW_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user