diff options
Diffstat (limited to 'gst-libs/gst/gl/cocoa/gstgl_cocoa_private.h')
-rw-r--r-- | gst-libs/gst/gl/cocoa/gstgl_cocoa_private.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/gst-libs/gst/gl/cocoa/gstgl_cocoa_private.h b/gst-libs/gst/gl/cocoa/gstgl_cocoa_private.h index 726d6071b..fa7178b47 100644 --- a/gst-libs/gst/gl/cocoa/gstgl_cocoa_private.h +++ b/gst-libs/gst/gl/cocoa/gstgl_cocoa_private.h @@ -34,25 +34,23 @@ struct _GstGLContextCocoaPrivate { NSOpenGLContext *gl_context; NSOpenGLContext *external_gl_context; - NSRect rect; gint source_id; }; /* =============================================================*/ /* */ -/* GstGLNSOpenGLView declaration */ +/* GstGLNSView declaration */ /* */ /* =============================================================*/ -@interface GstGLNSOpenGLView: NSOpenGLView { - GstGLWindowCocoa *m_cocoa; +@interface GstGLNSView: NSView { + GstGLWindowCocoa *window_cocoa; } -- (id) initWithFrame:(GstGLWindowCocoa *)window rect:(NSRect)contentRect - pixelFormat:(NSOpenGLPixelFormat *)fmt; +- (id) initWithFrame:(GstGLWindowCocoa *)window rect:(NSRect)contentRect; @end -gboolean gst_gl_window_cocoa_create_window (GstGLWindowCocoa *window_cocoa); +gboolean gst_gl_window_cocoa_create_window (GstGLWindowCocoa *window_cocoa, NSRect rect); G_END_DECLS |