Skip to content

Commit cb8053d

Browse files
committed
update origon
1 parent 6bcd8e4 commit cb8053d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ios/NSFrameProcessor.mm

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ @implementation FrameProcessor
2828
CGRect r;
2929
r.origin.x = parent->SelectedMonitor.OffsetX;
3030
//apple uses the opengl texture coords where the bottom left is 0,0
31-
r.origin.y = parent->SelectedMonitor.OriginalHeight - (parent->SelectedMonitor.OffsetY + parent->SelectedMonitor.Height);
31+
r.origin.y = parent->SelectedMonitor.OriginalHeight - ((parent->SelectedMonitor.OffsetY - parent->SelectedMonitor.OriginalOffsetY) + parent->SelectedMonitor.Height);
3232
r.size.height =parent->SelectedMonitor.Height;
3333
r.size.width =parent->SelectedMonitor.Width;
3434
[self.avinput setCropRect:r];

0 commit comments

Comments
 (0)