Skip to content

Commit

Permalink
Clarify when Shutdown should be called
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasdaler authored May 29, 2019
1 parent b07b48f commit 678fcf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Using ImGui-SFML in your code
- Call `ImGui::EndFrame` after the last `ImGui::End` in your update function, if you update more than once before rendering. (e.g. fixed delta game loops)
- Call `ImGui::SFML::Render(window)`

- Call `ImGui::SFML::Shutdown()` at the end of your program
- Call `ImGui::SFML::Shutdown()` after `window.close()` has been called

**If you only draw ImGui widgets without any SFML stuff, then you'll have to call window.resetGLStates() before rendering anything. You only need to do it once.**

Expand Down

0 comments on commit 678fcf3

Please sign in to comment.