mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-16 00:54:19 +00:00
parent
31e77eacdb
commit
7602277c86
1 changed files with 1 additions and 1 deletions
|
|
@ -583,7 +583,7 @@ void ImGui_ImplMetal_DestroyDeviceObjects()
|
||||||
indexBufferOffset += (size_t)cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx);
|
indexBufferOffset += (size_t)cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx);
|
||||||
}
|
}
|
||||||
|
|
||||||
__weak id weakSelf = self;
|
id weakSelf = self;
|
||||||
[commandBuffer addCompletedHandler:^(id<MTLCommandBuffer>)
|
[commandBuffer addCompletedHandler:^(id<MTLCommandBuffer>)
|
||||||
{
|
{
|
||||||
dispatch_async(dispatch_get_main_queue(), ^{
|
dispatch_async(dispatch_get_main_queue(), ^{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue