[vlc-commits] [Git][videolan/vlc][master] OpenGL: fix compilation for win_offscreen
Alexandre Janniaux (@alexandre-janniaux)
gitlab at videolan.org
Wed Jul 1 03:53:54 UTC 2026
Alexandre Janniaux pushed to branch master at VideoLAN / VLC
Commits:
ba07efee by Jean-Baptiste Kempf at 2026-07-01T03:32:22+00:00
OpenGL: fix compilation for win_offscreen
This can happen on Windows with libplacebo compiled in static mode
- - - - -
2 changed files:
- modules/video_filter/Makefile.am
- modules/video_output/opengl/Makefile.am
Changes:
=====================================
modules/video_filter/Makefile.am
=====================================
@@ -151,7 +151,7 @@ endif
libopengl_filter_plugin_la_SOURCES = video_filter/opengl.c
libopengl_filter_plugin_la_LIBADD = $(GL_PLUGIN_LIBADD)
-libopengl_filter_plugin_la_CFLAGS = $(AM_CFLAGS) $(GL_PLUGIN_CFLAGS)
+libopengl_filter_plugin_la_CFLAGS = $(AM_CFLAGS) $(GL_PLUGIN_CFLAGS) $(OPENGL_COMMONCFLAGS)
if HAVE_GL_OR_GLES2
video_filter_PLUGINS += libopengl_filter_plugin.la
endif
=====================================
modules/video_output/opengl/Makefile.am
=====================================
@@ -178,6 +178,7 @@ endif
libopengl_win_offscreen_plugin_la_SOURCES = video_filter/opengl_win_offscreen.c
if HAVE_WIN32
if HAVE_GL
+libopengl_win_offscreen_plugin_la_CFLAGS = $(AM_CFLAGS) $(OPENGL_COMMONCFLAGS) $(GL_CFLAGS)
libopengl_win_offscreen_plugin_la_LIBADD = libvlc_opengl.la $(GL_LIBS) -lgdi32
vout_PLUGINS += libopengl_win_offscreen_plugin.la
endif
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ba07efee4ffd3410465bccc08300d79b59a3bcd6
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ba07efee4ffd3410465bccc08300d79b59a3bcd6
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list