ImGuiManager: Transition texture layout after font update

pull/3699/head
Stenzek 7 months ago
parent add30da47a
commit be8f38bef6
No known key found for this signature in database

@ -576,6 +576,7 @@ void ImGuiManager::UpdateTextures()
continue;
}
gtex->MakeReadyForSampling();
tex->SetTexID(reinterpret_cast<ImTextureID>(gtex.release()));
tex->Status = ImTextureStatus_OK;
}
@ -595,6 +596,8 @@ void ImGuiManager::UpdateTextures()
}
}
gtex->MakeReadyForSampling();
// Updates is cleared by ImGui NewFrame.
tex->Status = ImTextureStatus_OK;
}

Loading…
Cancel
Save