Commit 9415464e authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: prevent ugly artifacts when playing a video

parent 9b134e2a
......@@ -394,4 +394,14 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
events */
return NO;
}
- (void)renewGState
{
NSWindow *window = [self window];
if ([window respondsToSelector:@selector(disableScreenUpdatesUntilFlush)])
[window disableScreenUpdatesUntilFlush];
[super renewGState];
}
@end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment