mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-09 23:54:20 +00:00
Backends: Metal: Added missing IM_UNUSED (#8302)
This commit is contained in:
parent
596e09770d
commit
e7fb97208a
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue