| 229 | } |
| 230 | |
| 231 | static 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 | |
| 246 | static bool ProcessEventLoop() { |
| 247 | MSG msg; |
no test coverage detected