Commit 929c17e6 authored by Seungha Yang's avatar Seungha Yang 🐑

glcontext: egl: Fix build with win32 window system

parent e78c5ffb
......@@ -805,7 +805,8 @@ gst_gl_context_egl_create_context (GstGLContext * context,
#endif
#if GST_GL_HAVE_WINDOW_WIN32
if (GST_IS_GL_WINDOW_WIN32 (context->window)) {
gst_gl_window_win32_create_window ((GstGLWindowWin32 *) context->window);
gst_gl_window_win32_create_window ((GstGLWindowWin32 *) context->window,
NULL);
}
#endif
#if GST_GL_HAVE_WINDOW_DISPMANX
......
......@@ -976,7 +976,7 @@ if build_gstgl
gstgl_dep = declare_dependency(link_with : gstgl,
include_directories : [libsinc, compat_includes],
sources: gen_sources,
dependencies : [video_dep, gst_base_dep] + gl_winsys_deps)
dependencies : [video_dep, gst_base_dep] + gl_lib_deps + gl_winsys_deps)
elif get_option('gl').enabled()
error('GStreamer OpenGL integration required via options, but needed dependencies not found.')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment