mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
meson: gl: fix build on windows
https://bugzilla.gnome.org/show_bug.cgi?id=791772
This commit is contained in:
parent
df0831ce57
commit
0ffc2015aa
1 changed files with 3 additions and 0 deletions
|
@ -579,10 +579,13 @@ if need_platform_wgl != 'no' and need_win_win32 != 'no'
|
||||||
'win32/win32_message_source.c',
|
'win32/win32_message_source.c',
|
||||||
'win32/gstglwindow_win32.c',
|
'win32/gstglwindow_win32.c',
|
||||||
'win32/gstglwindow_win32.c',
|
'win32/gstglwindow_win32.c',
|
||||||
|
'win32/gstglcontext_wgl.c',
|
||||||
]
|
]
|
||||||
enabled_gl_winsys += 'win32'
|
enabled_gl_winsys += 'win32'
|
||||||
gl_winsys_deps += gdi_dep
|
gl_winsys_deps += gdi_dep
|
||||||
enabled_gl_platforms += 'wgl'
|
enabled_gl_platforms += 'wgl'
|
||||||
|
glconf.set('GST_GL_HAVE_WINDOW_WIN32', 1)
|
||||||
|
glconf.set('GST_GL_HAVE_PLATFORM_WGL', 1)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue