| 339 | } |
| 340 | |
| 341 | static void ShutdownInstance() { |
| 342 | app.FreeResources(); |
| 343 | |
| 344 | if (mainContext) { |
| 345 | BE1::rhi.DestroyRenderTarget(mainRenderTarget); |
| 346 | |
| 347 | BE1::rhi.DestroyContext(mainContext); |
| 348 | } |
| 349 | |
| 350 | app.Shutdown(); |
| 351 | |
| 352 | BE1::Engine::ShutdownBase(); |
| 353 | } |
| 354 | |
| 355 | extern "C" { |
| 356 |
no test coverage detected