[vlc-commits] direct3d9: Fix compilation without OpenGL

Martin Storsjö git at videolan.org
Tue Jan 14 08:58:08 CET 2020


vlc | branch: master | Martin Storsjö <martin at martin.st> | Tue Jan 14 09:57:38 2020 +0200| [4f29fe805db815d72036e492f896771c979e3b8a] | committer: Martin Storsjö

direct3d9: Fix compilation without OpenGL

This fixes building for ARM based windows versions.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4f29fe805db815d72036e492f896771c979e3b8a
---

 modules/video_output/win32/direct3d9.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/video_output/win32/direct3d9.c b/modules/video_output/win32/direct3d9.c
index 876c2ace46..9e36eb1918 100644
--- a/modules/video_output/win32/direct3d9.c
+++ b/modules/video_output/win32/direct3d9.c
@@ -60,7 +60,9 @@
 #include "common.h"
 #include "builtin_shaders.h"
 #include "../../video_chroma/copy.h"
+#ifdef HAVE_GL
 #include "../opengl/interop.h"
+#endif
 
 #include <assert.h>
 



More information about the vlc-commits mailing list