mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
glcontext: egl: Fix build with win32 window system
This commit is contained in:
parent
e78c5ffb1b
commit
929c17e6cc
2 changed files with 3 additions and 2 deletions
|
@ -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.')
|
||||
|
|
Loading…
Reference in a new issue