mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-04 15:11:05 +01:00 
			
		
		
		
	@@ -583,7 +583,7 @@ void ImGui_ImplMetal_DestroyDeviceObjects()
 | 
			
		||||
        indexBufferOffset += (size_t)cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    __weak id weakSelf = self;
 | 
			
		||||
    id weakSelf = self;
 | 
			
		||||
    [commandBuffer addCompletedHandler:^(id<MTLCommandBuffer>)
 | 
			
		||||
    {
 | 
			
		||||
        dispatch_async(dispatch_get_main_queue(), ^{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user