mirror of
https://github.com/glfw/glfw.git
synced 2024-11-25 22:14:34 +00:00
Add missing release for CVDisplayLink
This commit is contained in:
parent
01eae144e1
commit
0d0a840b22
@ -121,6 +121,8 @@ static void destroyContextNSGL(_GLFWwindow* window)
|
||||
{
|
||||
@autoreleasepool {
|
||||
CVDisplayLinkStop(window->context.nsgl.displayLink);
|
||||
CVDisplayLinkRelease(window->context.nsgl.displayLink);
|
||||
window->context.nsgl.displayLink = NULL;
|
||||
|
||||
_glfwPlatformDestroyCondvar(&window->context.nsgl.swapIntervalCond);
|
||||
_glfwPlatformDestroyMutex(&window->context.nsgl.swapIntervalLock);
|
||||
|
Loading…
Reference in New Issue
Block a user