We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba0ded5 commit 6071cd6Copy full SHA for 6071cd6
src/ios/CGFrameProcessor.cpp
@@ -52,7 +52,7 @@ namespace Screen_Capture {
52
ret.right = Width(SelectedMonitor);
53
auto rowstride = PixelStride * Width(SelectedMonitor);
54
auto startbuf = buf + ((OffsetX(SelectedMonitor) - OffsetX(curentmonitorinfo) )*PixelStride);//advance to the start of this image
55
- startbuf += (OffsetY(curentmonitorinfo) * bytesperrow);
+ startbuf += (OffsetY(SelectedMonitor) * bytesperrow);
56
57
if (Data->ScreenCaptureData.OnNewFrame && !Data->ScreenCaptureData.OnFrameChanged) {
58
auto wholeimg = Create(ret, PixelStride, static_cast<int>(bytesperrow) - rowstride, startbuf);
0 commit comments