diff --git a/Getting-Started.md b/Getting-Started.md index 6d32e48..6255427 100644 --- a/Getting-Started.md +++ b/Getting-Started.md @@ -76,7 +76,7 @@ After this list we will show the corresponding code. - (2) Create Dear ImGui context with `ImGui::CreateContext()`. - (3) Optionally set configuration flags, load fonts, setup style. - (4) Initialize Platform and Rendering backends (e.g. `ImGui_ImplWin32_Init()` + `ImGui_ImplDX11_Init()`). -- (5) Start of main loop: call backends' `ImGui_ImplXXX_NewFrame()` functions + call `ImGui::NewFrame()`. +- (5) Start of main loop: poll events + call backends' `ImGui_ImplXXX_NewFrame()` functions + call `ImGui::NewFrame()`. - (6) End of main loop: call `ImGui::Render()` + call Render function of Rendering backend (e.g. `ImGui_ImplDX11_Render()`). - (7) Most backends require some extra steps to hook or forward events. (e.g. calling `ImGui_ImplWin32_WndProcHandler`) - (8) Call backend shutdown functions and destroy Dear ImGui context with `ImGui::DestroyContext()`.