gl/cocoa: fix definition of gst_gl_context_new
authorMatthew Waters <matthew@centricular.com>
Mon, 27 Jul 2015 10:03:05 +0000 (20:03 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:07 +0000 (19:32 +0000)
gstglcontext_cocoa.m:75:1: error: conflicting types for 'gst_gl_context_cocoa_new'

gst-libs/gst/gl/cocoa/gstglcontext_cocoa.h

index 6b79bc404c215f2cda538f7b06a7f86e7f76869d..22069ee6bbd8090b02c1d88c0af8fbc209102dd2 100644 (file)
@@ -60,7 +60,7 @@ struct _GstGLContextCocoaClass {
 
 GType gst_gl_context_cocoa_get_type (void);
 
-GstGLContextCocoa * gst_gl_context_cocoa_new (void);
+GstGLContextCocoa * gst_gl_context_cocoa_new (GstGLDisplay * display);
 guintptr gst_gl_context_cocoa_get_current_context (void);
 CGLPixelFormatObj gst_gl_context_cocoa_get_pixel_format (GstGLContextCocoa *context);
 void gst_gl_context_cocoa_dump_pixel_format (CGLPixelFormatObj fmt);