| 851 | } |
| 852 | |
| 853 | static void EngineDestroy(void* _engine) |
| 854 | { |
| 855 | EngineCtx* engine = (EngineCtx*)_engine; |
| 856 | dmGraphics::CloseWindow(engine->m_GraphicsContext); |
| 857 | dmGraphics::DeleteContext(engine->m_GraphicsContext); |
| 858 | dmGraphics::Finalize(); |
| 859 | |
| 860 | if (engine->m_JobContext) |
| 861 | JobSystemDestroy(engine->m_JobContext); |
| 862 | |
| 863 | engine->m_WasDestroyed++; |
| 864 | } |
| 865 | |
| 866 | static UpdateResult EngineUpdate(void* _engine) |
| 867 | { |
nothing calls this directly
no test coverage detected