mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
gl/cocoa: NSView::drawRect() should call into reshape too
We a) need to render again because part of the window was obscured and b) might need to reshape because of clipping changes.
This commit is contained in:
parent
32b23a340e
commit
7cf214796a
1 changed files with 4 additions and 0 deletions
|
@ -530,6 +530,10 @@ resize_cb (gpointer data)
|
||||||
gst_object_unref (context);
|
gst_object_unref (context);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void)drawRect: (NSRect)dirtyRect {
|
||||||
|
[self reshape];
|
||||||
|
}
|
||||||
|
|
||||||
- (void)reshape {
|
- (void)reshape {
|
||||||
GstGLWindow *window;
|
GstGLWindow *window;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue