| 171 | } |
| 172 | |
| 173 | void CGraphicsBackend_Threaded::WaitForIdle() |
| 174 | { |
| 175 | #if !defined(CONF_PLATFORM_EMSCRIPTEN) |
| 176 | std::unique_lock<std::mutex> Lock(m_BufferSwapMutex); |
| 177 | m_BufferSwapCond.wait(Lock, [this]() { return m_pBuffer == nullptr; }); |
| 178 | #endif |
| 179 | } |
| 180 | |
| 181 | void CGraphicsBackend_Threaded::ProcessError(const SGfxErrorContainer &Error) |
| 182 | { |
no outgoing calls
no test coverage detected