gl/cocoa: Update viewport according to the current clipping
authorSebastian Dröge <sebastian@centricular.com>
Mon, 29 Sep 2014 06:33:42 +0000 (09:33 +0300)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:47 +0000 (19:31 +0000)
commitb1a5ae7c0d1ef9fa0e681b425168bba4cb362f66
tree7f6d9b5a86f0bdde0a31f3f53e886b59b80d256d
parent9ff86a3c546abca243db70fc22b4e4f9115d0f5b
gl/cocoa: Update viewport according to the current clipping

We have to update the GL viewport if the NSView is only partially
visible. Otherwise the content of the frame will be visibly offset.
gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m