Closed robmikh closed 5 years ago
Currently if the application that is being captured resizes its window, the rest of the buffer will have stale content in it. I'm not sure how to handle that without introducing a copy.
There's a possible solution that is a bit hacky...
We could clear the frame buffer before we dispose it in CaptureFrameWait.WaitForNewFrame(). Maybe that's good enough? ¯\_(ツ)_/¯
CaptureFrameWait.WaitForNewFrame()
Currently if the application that is being captured resizes its window, the rest of the buffer will have stale content in it. I'm not sure how to handle that without introducing a copy.