mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-13 00:24:20 +00:00
Viewport: Replaced UpdatePlatformWindows/RenderPlatformWindows by RenderAdditionalViewports(). The update is always called in EndFrame(). (#1542)
This commit is contained in:
parent
b807347e94
commit
e9fa17e1bf
10 changed files with 33 additions and 30 deletions
|
|
@ -735,9 +735,7 @@ int main(int, char**)
|
|||
swap_chain_has_at_least_one_image = true;
|
||||
wd->FrameIndex = (wd->FrameIndex + 1) % IMGUI_VK_QUEUED_FRAMES;
|
||||
|
||||
// FIXME-PLATFORM
|
||||
ImGui::UpdatePlatformWindows();
|
||||
ImGui::RenderPlatformWindows();
|
||||
//ImGui::RenderAdditionalViewports();
|
||||
}
|
||||
|
||||
// Cleanup
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue