| 85 | static int initCallCount = -1; |
| 86 | |
| 87 | void initWtkIfNotDone() |
| 88 | { |
| 89 | std::lock_guard<std::mutex> lock(initMutex); |
| 90 | |
| 91 | initCallCount++; |
| 92 | |
| 93 | if (initCallCount==0) |
| 94 | forge::wtk::initWindowToolkit(); |
| 95 | } |
| 96 | |
| 97 | void destroyWtkIfDone() |
| 98 | { |
no test coverage detected