| 353 | } |
| 354 | |
| 355 | void Tr2Renderer::Shutdown() |
| 356 | { |
| 357 | GlobalStore().UnregisterVariable( "Time" ); |
| 358 | USE_MAIN_THREAD_RENDER_CONTEXT(); //TODO! |
| 359 | renderContext.m_esm.Shutdown(); |
| 360 | |
| 361 | CCP_DELETE s_blitter; |
| 362 | CCP_DELETE s_debugTextRenderer; |
| 363 | CCP_DELETE s_poolAllocator; |
| 364 | |
| 365 | if( s_debugLineSet ) |
| 366 | { |
| 367 | s_debugLineSet->Unlock(); |
| 368 | s_debugLineSet = NULL; |
| 369 | } |
| 370 | } |
| 371 | |
| 372 | void Tr2Renderer::GetBackBufferDimensions( unsigned int& w, unsigned int& h ) |
| 373 | { |
nothing calls this directly
no test coverage detected