mirror of
				https://github.com/ocornut/imgui.git
				synced 2025-10-26 12:27:30 +00:00 
			
		
		
		
	This commit is contained in:
		| @@ -186,7 +186,9 @@ int main(int, char**) | ||||
|         // Rendering | ||||
|         g_pd3dDeviceContext->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_ImplDX11_Shutdown(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 omar
					omar