mirror of https://github.com/mpv-player/mpv
cocoa: make resizing wake the vo thread
This commit is contained in:
parent
c1d5b182b4
commit
b915852f9f
|
@ -647,6 +647,7 @@ void *vo_cocoa_cgl_pixel_format(struct vo *vo)
|
|||
- (void)setNeedsResize {
|
||||
struct vo_cocoa_state *s = self.vout->cocoa;
|
||||
s->did_resize = true;
|
||||
vo_wakeup(self.vout);
|
||||
}
|
||||
|
||||
- (void)recalcMovableByWindowBackground:(NSPoint)p
|
||||
|
|
Loading…
Reference in New Issue