| 344 | } |
| 345 | |
| 346 | void TriTextureRes::OnShutdown() |
| 347 | { |
| 348 | m_pipelineFence.Cancel(); |
| 349 | ReleaseResources( TRISTORAGE_ALL ); |
| 350 | if( m_loadedBitmap && m_lodEnabled ) |
| 351 | { |
| 352 | Tr2TextureLodManager::Instance().CpuTextureDestroyed( *m_loadedBitmap ); |
| 353 | } |
| 354 | } |
| 355 | |
| 356 | void TriTextureRes::ReleaseResources( TriStorage s ) |
| 357 | { |
nothing calls this directly
no test coverage detected