From 0ffc2015aaabbce918b6965eef02704eb7755ef0 Mon Sep 17 00:00:00 2001 From: Roland Peffer Date: Tue, 16 Jan 2018 13:59:08 +0000 Subject: [PATCH] meson: gl: fix build on windows https://bugzilla.gnome.org/show_bug.cgi?id=791772 --- gst-libs/gst/gl/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gst-libs/gst/gl/meson.build b/gst-libs/gst/gl/meson.build index 68af27fad9..c6e9e03f2e 100644 --- a/gst-libs/gst/gl/meson.build +++ b/gst-libs/gst/gl/meson.build @@ -579,10 +579,13 @@ if need_platform_wgl != 'no' and need_win_win32 != 'no' 'win32/win32_message_source.c', 'win32/gstglwindow_win32.c', 'win32/gstglwindow_win32.c', + 'win32/gstglcontext_wgl.c', ] enabled_gl_winsys += 'win32' gl_winsys_deps += gdi_dep enabled_gl_platforms += 'wgl' + glconf.set('GST_GL_HAVE_WINDOW_WIN32', 1) + glconf.set('GST_GL_HAVE_PLATFORM_WGL', 1) endif endif