libgstgl: fix rendering on iOS
authorAlessandro Decina <alessandro.d@gmail.com>
Thu, 2 Apr 2015 07:05:55 +0000 (18:05 +1100)
committerAlessandro Decina <alessandro.d@gmail.com>
Thu, 2 Apr 2015 07:29:39 +0000 (18:29 +1100)
commit6981a8d15b17094cde8a2cec0a2c821c6eaa9547
tree51a1e1e3c7ea49eaef4131c38f5ad813e5a9b821
parent5a6024850c2b6bb4e235ce2c71a127b2ea9871a5
libgstgl: fix rendering on iOS

Stop assuming that the handle has been set by the time ->create_context is
called. After bc7a7259f357b0065dd94e0668b5a895d83fa53a set_window_handle always
happens after ->create_context in fact.

See also https://bugzilla.gnome.org/show_bug.cgi?id=745090
gst-libs/gst/gl/eagl/gstglcontext_eagl.h
gst-libs/gst/gl/eagl/gstglcontext_eagl.m
gst-libs/gst/gl/eagl/gstglwindow_eagl.m