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 13:59:08 +0000
commit0ffc2015aaabbce918b6965eef02704eb7755ef0 (patch)
tree0512b7c2e548589c969a89e64acc299256f6e2ac
parentdf0831ce57dc28b8cee9133378fb0f23977fc44c (diff)
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 68af27fad..c6e9e03f2 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