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:
Sebastian Dröge 2014-09-29 09:24:49 +03:00
parent 66cb4166d3
commit 0cd19cbda3

View file

@ -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;