mirror of
https://github.com/ocornut/imgui.git
synced 2025-09-08 12:28:24 +00:00
Fix typos and use nullptr in backends. Amend 506f7e0
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user