Viewports: Renamed UpdatePlatformWindows > PlatformWindowsUpdate, RenderPlatformWindowsDefault -> PlatformWindowsRender, DestroyPlatformWindows > PlatformWindowsDestroy (#1542)

This commit is contained in:
ocornut
2020-03-06 17:28:32 +01:00
parent 1b579a110d
commit f2c7f3b200
24 changed files with 71 additions and 71 deletions

View File

@ -210,8 +210,8 @@ int main(int, char**)
// Update and Render additional Platform Windows
if (io.ConfigFlags & ImGuiConfigFlags_ViewportsEnable)
{
ImGui::UpdatePlatformWindows();
ImGui::RenderPlatformWindowsDefault(NULL, (void*)g_pd3dCommandList);
ImGui::PlatformWindowsUpdate();
ImGui::PlatformWindowsRender(NULL, (void*)g_pd3dCommandList);
}
g_pSwapChain->Present(1, 0); // Present with vsync