| 162 | } |
| 163 | |
| 164 | static UpdateResult EngineUpdate(void* _engine) |
| 165 | { |
| 166 | EngineCtx* engine = (EngineCtx*)_engine; |
| 167 | engine->m_WasRun++; |
| 168 | |
| 169 | dmPlatform::PollEvents(engine->m_Window); |
| 170 | |
| 171 | return RESULT_OK; |
| 172 | } |
| 173 | |
| 174 | static void EngineGetResult(void* _engine, int* run_action, int* exit_code, int* argc, char*** argv) |
| 175 | { |
nothing calls this directly
no test coverage detected