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)
This commit is contained in:
Matthew Waters 2015-07-27 21:54:27 +10:00
parent 1137ed3e45
commit ee94aa003a
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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);