inital commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
//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()
|
||||
}
|
||||
Reference in New Issue
Block a user