| 143 | } |
| 144 | |
| 145 | Engine::~Engine() |
| 146 | { |
| 147 | #if _ENGINE |
| 148 | if (m_uiInitialized) { |
| 149 | app.OnApplicationTerminate(); |
| 150 | |
| 151 | app.Shutdown(); |
| 152 | |
| 153 | app.mainRenderContext->Shutdown(); |
| 154 | BE1::renderSystem.FreeRenderContext(app.mainRenderContext); |
| 155 | |
| 156 | //DestroyRenderWindow(mainWnd); |
| 157 | |
| 158 | BE1::gameClient.Shutdown(); |
| 159 | |
| 160 | BE1::Engine::Shutdown(); |
| 161 | |
| 162 | } |
| 163 | #endif // _ENGINE |
| 164 | #if _SAMPLE |
| 165 | NVBFTextFree(m_uiText[1]); |
| 166 | NVBFTextFree(m_uiText[0]); |
| 167 | NVBFTextFree(m_clockText); |
| 168 | NVBFCleanup(); |
| 169 | |
| 170 | #endif // _SAMPLE |
| 171 | } |
| 172 | extern int android_progress; |
| 173 | |
| 174 |
nothing calls this directly
no test coverage detected