MCPcopy Create free account
hub / github.com/PolygonTek/BlueshiftEngine / ShutdownInstance

Function ShutdownInstance

Source/Player/WinMain.cpp:231–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229}
230
231static void ShutdownInstance() {
232 app.OnApplicationTerminate();
233
234 app.Shutdown();
235
236 app.mainRenderContext->Shutdown();
237 BE1::renderSystem.FreeRenderContext(app.mainRenderContext);
238
239 DestroyRenderWindow(hmainWnd);
240
241 BE1::gameClient.Shutdown();
242
243 BE1::Engine::Shutdown();
244}
245
246static bool ProcessEventLoop() {
247 MSG msg;

Callers 1

_tWinMainFunction · 0.70

Calls 4

DestroyRenderWindowFunction · 0.85
FreeRenderContextMethod · 0.80
ShutdownMethod · 0.45

Tested by

no test coverage detected