mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-26 20:28:49 -05:00
parent
580c7da559
commit
9ac9c61433
|
@ -522,7 +522,8 @@ void _glfwPlatformDestroyCursor(_GLFWcursor* cursor)
|
||||||
if (cursor->wl.image)
|
if (cursor->wl.image)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
wl_buffer_destroy(cursor->wl.buffer);
|
if (cursor->wl.buffer)
|
||||||
|
wl_buffer_destroy(cursor->wl.buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
void _glfwPlatformSetCursor(_GLFWwindow* window, _GLFWcursor* cursor)
|
void _glfwPlatformSetCursor(_GLFWwindow* window, _GLFWcursor* cursor)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user