Files
overlord/Overlord-Client/cmd/agent/capture/reset_capture_windows.go
T
2026-03-05 00:04:26 -06:00

12 lines
221 B
Go

//go:build windows
package capture
func ResetDesktopCapture() {
// Prevent freeing the DIB section while a BitBlt capture is in progress.
captureMu.Lock()
defer captureMu.Unlock()
state.reset()
dxgiState.reset()
}