summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Peffer <gdevel@clixxun.com>2018-01-16 13:59:08 +0000
committerTim-Philipp Müller <tim@centricular.com>2018-01-16 14:01:01 +0000
commit557eec9ca4cf12e3f8bd80e4cdd4c262384aba18 (patch)
treeab3a30f89b1ca3b621845fb9895c8e0189996890
parent5ef50226a727e18f22e7ffc4704a7b2b088538b3 (diff)
downloadgstreamer-plugins-bad-557eec9ca4cf12e3f8bd80e4cdd4c262384aba18.tar.gz
meson: gl: fix build on windows
https://bugzilla.gnome.org/show_bug.cgi?id=791772
-rw-r--r--gst-libs/gst/gl/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst-libs/gst/gl/meson.build b/gst-libs/gst/gl/meson.build
index 9aa2d0f1f..f3b14e713 100644
--- a/gst-libs/gst/gl/meson.build
+++ b/gst-libs/gst/gl/meson.build
@@ -549,10 +549,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