Skip to content
Snippets Groups Projects
Unverified Commit e7fb9720 authored by Daniel Walz's avatar Daniel Walz Committed by GitHub
Browse files

Backends: Metal: Added missing IM_UNUSED (#8302)

parent 596e0977
Branches
Tags
No related merge requests found
......@@ -143,6 +143,7 @@ bool ImGui_ImplMetal_Init(id<MTLDevice> device)
void ImGui_ImplMetal_Shutdown()
{
ImGui_ImplMetal_Data* bd = ImGui_ImplMetal_GetBackendData();
IM_UNUSED(bd);
IM_ASSERT(bd != nullptr && "No renderer backend to shutdown, or already shutdown?");
ImGui_ImplMetal_DestroyDeviceObjects();
ImGui_ImplMetal_DestroyBackendData();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment