[vlc-commits] opengl: vaapi: fix build with gles2

Thomas Guillem git at videolan.org
Wed Jun 28 11:24:59 CEST 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Jun 28 11:24:22 2017 +0200| [236b4f3b2c4d7aada91a58b1f7ec26bf586f16eb] | committer: Thomas Guillem

opengl: vaapi: fix build with gles2

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

 modules/video_output/opengl/converter_vaapi.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/video_output/opengl/converter_vaapi.c b/modules/video_output/opengl/converter_vaapi.c
index 3f2ef14b59..73302fc8d9 100644
--- a/modules/video_output/opengl/converter_vaapi.c
+++ b/modules/video_output/opengl/converter_vaapi.c
@@ -41,6 +41,10 @@
 # include <vlc_xlib.h>
 #endif
 
+#if defined(USE_OPENGL_ES2)
+#   include <GLES2/gl2ext.h>
+#endif
+
 struct priv
 {
     VADisplay vadpy;



More information about the vlc-commits mailing list