[368/906] Cocoa backend: fix crash when resizing
authorJulien Isorce <julien.isorce@gmail.com>
Mon, 3 Aug 2009 08:13:02 +0000 (10:13 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:22 +0000 (19:31 +0000)
commit2e22bb4560fff1afb65bfcdf9e59ffb7bf9a653b
tree41eb75673625331bf85b9285148c18adb8b57ce3
parente467ea29e9b9cbe385cda17e425e4722829ab04e
[368/906] Cocoa backend: fix crash when resizing

Default implementation of NSOpenglView::update is not safe because it
just calls update on the opengl context whereas we are not in the gl thread.
Also fix the white flickering when resizing, because now we need to call
the draw callback manually when resizing.
gst-libs/gst/gl/gstglwindow_cocoa.m