mac-capture: Remove explicit call to setBackgroundColor

This was necessary since the default background color was meant to be
clear, but wasn't set properly. The bug is fixed in macOS 13 Beta 6, so
we can remove this statement.
master
gxalpha 2022-08-29 14:38:52 +02:00
parent 614119db21
commit dbcafb62ff
No known key found for this signature in database
GPG Key ID: 470184116E317811
1 changed files with 0 additions and 5 deletions

View File

@ -456,11 +456,6 @@ static bool init_screen_stream(struct screen_capture *sc)
includingApplications:target_application_array
exceptingWindows:[[NSArray alloc] init]];
if (@available(macOS 13.0, *))
[sc->stream_properties
setBackgroundColor:CGColorGetConstantColor(
kCGColorClear)];
set_display_mode(sc, target_display);
} break;
}