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 committed by Tim-Philipp Müller
parent 32b23a340e
commit 7cf214796a

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;