MCPcopy Create free account
hub / github.com/TurningWheel/Barony / deinit

Method deinit

src/mod_tools.cpp:8653–8667  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8651}
8652
8653void ImGui_t::deinit()
8654{
8655 queueInit = false;
8656 queueDeinit = false;
8657 disablePlayerControl = false;
8658 if ( !isInit )
8659 {
8660 return;
8661 }
8662 isInit = false;
8663 SDL_ShowCursor(SDL_FALSE);
8664 ImGui_ImplOpenGL3_Shutdown();
8665 ImGui_ImplSDL2_Shutdown();
8666 ImGui::DestroyContext();
8667}
8668
8669void ImGui_t::render()
8670{

Callers 2

deinitGameFunction · 0.45
initMethod · 0.45

Calls 2

ImGui_ImplSDL2_ShutdownFunction · 0.85

Tested by

no test coverage detected