mirror of
https://github.com/ocornut/imgui.git
synced 2025-09-08 20:38:25 +00:00
This commit is contained in:
@@ -183,7 +183,9 @@ int main(int, char**)
|
||||
// Rendering
|
||||
g_pd3dDevice->ClearRenderTargetView(g_mainRenderTargetView, (float*)&clear_col);
|
||||
ImGui::Render();
|
||||
g_pSwapChain->Present(0, 0);
|
||||
|
||||
g_pSwapChain->Present(1, 0); // Present with vsync
|
||||
//g_pSwapChain->Present(0, 0); // Present without vsync
|
||||
}
|
||||
|
||||
ImGui_ImplDX10_Shutdown();
|
||||
|
Reference in New Issue
Block a user