| 214 | } |
| 215 | |
| 216 | static void StartFrameCapture(void *device, void *wndHandle) |
| 217 | { |
| 218 | DeviceOwnedWindow devWnd(device, wndHandle); |
| 219 | |
| 220 | RenderDoc::Inst().StartFrameCapture(devWnd); |
| 221 | |
| 222 | if(devWnd.device == NULL || devWnd.windowHandle == NULL) |
| 223 | RenderDoc::Inst().MatchClosestWindow(devWnd); |
| 224 | |
| 225 | if(devWnd.device != NULL && devWnd.windowHandle != NULL) |
| 226 | RenderDoc::Inst().SetActiveWindow(devWnd); |
| 227 | } |
| 228 | |
| 229 | static uint32_t IsFrameCapturing() |
| 230 | { |
nothing calls this directly
no test coverage detected