Fix typos and use nullptr in backends. Amend 506f7e0

This commit is contained in:
ocornut
2023-04-11 16:19:59 +02:00
parent aec062a8a5
commit bed11b35d1
14 changed files with 29 additions and 29 deletions

View File

@@ -221,7 +221,7 @@ int main(int, char**)
if (io.ConfigFlags & ImGuiConfigFlags_ViewportsEnable)
{
ImGui::UpdatePlatformWindows();
ImGui::RenderPlatformWindowsDefault(NULL, (void*)g_pd3dCommandList);
ImGui::RenderPlatformWindowsDefault(nullptr, (void*)g_pd3dCommandList);
}
g_pSwapChain->Present(1, 0); // Present with vsync