From ee94aa003a84945a149bc0f8e1fb78681e741455 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Mon, 27 Jul 2015 21:54:27 +1000 Subject: [PATCH] glcontext/wgl: fix defenition of gst_gl_context_wgl_new gstglcontext_wgl.c: In function 'gst_gl_context_wgl_new': gstglcontext_wgl.c:83:40: error: 'display' undeclared (first use in this function) --- gst-libs/gst/gl/win32/gstglcontext_wgl.c | 2 +- gst-libs/gst/gl/win32/gstglcontext_wgl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/gl/win32/gstglcontext_wgl.c b/gst-libs/gst/gl/win32/gstglcontext_wgl.c index 59b238c..d950f25 100644 --- a/gst-libs/gst/gl/win32/gstglcontext_wgl.c +++ b/gst-libs/gst/gl/win32/gstglcontext_wgl.c @@ -78,7 +78,7 @@ gst_gl_context_wgl_init (GstGLContextWGL * context_wgl) /* Must be called in the gl thread */ GstGLContextWGL * -gst_gl_context_wgl_new (void) +gst_gl_context_wgl_new (GstGLDisplay * display) { if ((gst_gl_display_get_handle_type (display) & GST_GL_DISPLAY_TYPE_WIN32) == 0) diff --git a/gst-libs/gst/gl/win32/gstglcontext_wgl.h b/gst-libs/gst/gl/win32/gstglcontext_wgl.h index fd3daca..0a3e067 100644 --- a/gst-libs/gst/gl/win32/gstglcontext_wgl.h +++ b/gst-libs/gst/gl/win32/gstglcontext_wgl.h @@ -55,7 +55,7 @@ struct _GstGLContextWGLClass { GType gst_gl_context_wgl_get_type (void); -GstGLContextWGL * gst_gl_context_wgl_new (void); +GstGLContextWGL * gst_gl_context_wgl_new (GstGLDisplay * display); guintptr gst_gl_context_wgl_get_current_context (void); gpointer gst_gl_context_wgl_get_proc_address (GstGLAPI gl_api, const gchar * name); -- 2.7.4