mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-13 19:05:37 +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
0ac95e3243
commit
ab142b2671
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 */
|
/* Must be called in the gl thread */
|
||||||
GstGLContextWGL *
|
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) ==
|
if ((gst_gl_display_get_handle_type (display) & GST_GL_DISPLAY_TYPE_WIN32) ==
|
||||||
0)
|
0)
|
||||||
|
|
|
@ -55,7 +55,7 @@ struct _GstGLContextWGLClass {
|
||||||
|
|
||||||
GType gst_gl_context_wgl_get_type (void);
|
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);
|
guintptr gst_gl_context_wgl_get_current_context (void);
|
||||||
gpointer gst_gl_context_wgl_get_proc_address (GstGLAPI gl_api, const gchar * name);
|
gpointer gst_gl_context_wgl_get_proc_address (GstGLAPI gl_api, const gchar * name);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue