mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-18 01:14:19 +00:00
This commit is contained in:
parent
166e8f6261
commit
645875a240
5 changed files with 10 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue