MCPcopy Create free account
hub / github.com/carbonengine/trinity / Shutdown

Method Shutdown

trinity/Tr2Renderer.cpp:355–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353}
354
355void 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
372void Tr2Renderer::GetBackBufferDimensions( unsigned int& w, unsigned int& h )
373{

Callers

nothing calls this directly

Calls 2

UnregisterVariableMethod · 0.80
UnlockMethod · 0.45

Tested by

no test coverage detected