mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +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
66cb4166d3
commit
0cd19cbda3
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