| 149 | // |
| 150 | //************************************************************************************* |
| 151 | template<> bool CSingleton< CGraphicsContext >::Create() |
| 152 | { |
| 153 | #ifdef DAEDALUS_ENABLE_ASSERTS |
| 154 | DAEDALUS_ASSERT_Q(mpInstance == nullptr); |
| 155 | #endif |
| 156 | mpInstance = new IGraphicsContext(); |
| 157 | return mpInstance->Initialise(); |
| 158 | } |
| 159 | |
| 160 | ////////////////////////////////////////////////////////////////////// |
| 161 | // Construction/Destruction |
nothing calls this directly
no test coverage detected