Fix build gstreamer-vaapi into pure Wayland build
authorRonan Le Martret <ronan@fridu.net>
Wed, 19 Feb 2014 07:57:23 +0000 (08:57 +0100)
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>
Mon, 4 Aug 2014 09:01:53 +0000 (11:01 +0200)
Replace GL by GLES for Wayland.

Change-Id: Iacefe64e35020ac46c99647f8dede83354d7192d
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
gst-libs/gst/vaapi/gstvaapitexture.h

index 3259574..9d63f6f 100644 (file)
 #ifndef GST_VAAPI_TEXTURE_H
 #define GST_VAAPI_TEXTURE_H
 
-#include <GL/gl.h>
+#ifdef HAVE_GL_GL_H
+# include <GL/gl.h>
+#else
+# include <GLES/gl.h>
+#endif
 #include <gst/vaapi/gstvaapitypes.h>
 #include <gst/vaapi/gstvaapiobject.h>
 #include <gst/vaapi/gstvaapidisplay.h>