[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)
committerMatthew Waters <ystreet00@gmail.com>
Sat, 15 Mar 2014 17:36:36 +0000 (18:36 +0100)
commit3107266d8145aa4580d072a635d3e994625290d8
tree8cb29d1f2d3dbff608ece7e74632dafa831ef8c7
parent26bb5badb8a20825e68aae3f2f536e76d859a4e0
[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