MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / Create

Method Create

Source/HLEGraphics/TextureCache.cpp:38–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36//#define PROFILE_TEXTURE_CACHE
37
38template<> 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
47CTextureCache::CTextureCache()
48#ifdef DAEDALUS_DEBUG_DISPLAYLIST

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected