| 36 | //#define PROFILE_TEXTURE_CACHE |
| 37 | |
| 38 | template<> bool CSingleton< CTextureCache >::Create() |
| 39 | { |
| 40 | #ifdef DAEDALUS_ENABLE_ASSERTS |
| 41 | DAEDALUS_ASSERT_Q(mpInstance == nullptr); |
| 42 | #endif |
| 43 | mpInstance = new CTextureCache(); |
| 44 | return mpInstance != nullptr; |
| 45 | } |
| 46 | |
| 47 | CTextureCache::CTextureCache() |
| 48 | #ifdef DAEDALUS_DEBUG_DISPLAYLIST |
nothing calls this directly
no outgoing calls
no test coverage detected