| 1127 | } |
| 1128 | |
| 1129 | void RenderDoc::SetActiveWindow(DeviceOwnedWindow devWnd) |
| 1130 | { |
| 1131 | SCOPED_LOCK(m_CapturerListLock); |
| 1132 | |
| 1133 | auto it = m_WindowFrameCapturers.find(devWnd); |
| 1134 | if(it == m_WindowFrameCapturers.end()) |
| 1135 | { |
| 1136 | RDCERR("Couldn't find frame capturer for device %p window %p", devWnd.device, |
| 1137 | devWnd.windowHandle); |
| 1138 | return; |
| 1139 | } |
| 1140 | |
| 1141 | m_ActiveWindow = devWnd; |
| 1142 | } |
| 1143 | |
| 1144 | void RenderDoc::SetCaptureTitle(const rdcstr &title) |
| 1145 | { |
no test coverage detected