12 lines
221 B
Go
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()
|
|
}
|