diff --git a/gst-libs/gst/gl/win32/gstglcontext_wgl.c b/gst-libs/gst/gl/win32/gstglcontext_wgl.c index 59b238c2cc..d950f252b9 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 fd3daca064..0a3e0670eb 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);