| 1027 | } |
| 1028 | |
| 1029 | void RenderDoc::RegisterShutdownFunction(ShutdownFunction func) |
| 1030 | { |
| 1031 | auto it = std::lower_bound(m_ShutdownFunctions.begin(), m_ShutdownFunctions.end(), func); |
| 1032 | if(it == m_ShutdownFunctions.end() || *it != func) |
| 1033 | m_ShutdownFunctions.insert(it - m_ShutdownFunctions.begin(), func); |
| 1034 | } |
| 1035 | |
| 1036 | bool RenderDoc::MatchClosestWindow(DeviceOwnedWindow &devWnd) |
| 1037 | { |
no test coverage detected