mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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:
parent
1137ed3e45
commit
ee94aa003a
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue