mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-09 23:54:20 +00:00
Comments + Metal using SetTexID(0) for consistency.
This commit is contained in:
parent
e92b29ad53
commit
9203883bbe
5 changed files with 7 additions and 4 deletions
|
|
@ -344,7 +344,7 @@ void ImGui_ImplMetal_DestroyFontsTexture()
|
|||
ImGui_ImplMetal_Data* bd = ImGui_ImplMetal_GetBackendData();
|
||||
ImGuiIO& io = ImGui::GetIO();
|
||||
bd->SharedMetalContext.fontTexture = nil;
|
||||
io.Fonts->SetTexID(nullptr);
|
||||
io.Fonts->SetTexID(0);
|
||||
}
|
||||
|
||||
bool ImGui_ImplMetal_CreateDeviceObjects(id<MTLDevice> device)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue