gl/cocoa: fix compiler warning
authorJulien Isorce <julien.isorce@gmail.com>
Mon, 3 Nov 2014 22:59:41 +0000 (22:59 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:49 +0000 (19:31 +0000)
commita581d479fff029118c3ea66ca3cf054666fa6bc7
tree766be829cde684df6b780e41aef54993ee8ff625
parent653c04b121d7fb0f86a0d87dd1288c47d6fff5e0
gl/cocoa: fix compiler warning

Use the reshape function after being defined. The other way
would have been to declare the reshape function in the header.

gstglwindow_cocoa.m: In function '-[GstGLNSView drawRect:]':
gstglwindow_cocoa.m:555: warning: 'GstGLNSView' may not respond to '-reshape'
gstglwindow_cocoa.m:555: warning: (Messages without a matching method signature
gstglwindow_cocoa.m:555: warning: will be assumed to return 'id' and accept
gstglwindow_cocoa.m:555: warning: '...' as arguments.)
gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m