diff options
author | Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> | 2015-11-04 16:50:44 +0100 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> | 2015-11-09 15:12:31 +0100 |
commit | f182fcfb379344690292c52542f92a9e7f0bf1a3 (patch) | |
tree | f4e243ccf5102e5a2b923d5e3a73349d2513aa0f | |
parent | bf046cd0b6feda503e62b1341b78cbacf86aff4a (diff) | |
download | gst-vaapi-f182fcfb379344690292c52542f92a9e7f0bf1a3.tar.gz |
libs: remove unneeded headers
Since gstvaapidisplay_glx.h do not expose gl.h/glx.h structures, it is not
required to include them in the header. It is not also required to include
them in gstvaapidisplay_glx.c, since gstvaapiutils_glx.h includes them and
exposes their structures (e.g. GLXPixmap).
Nonetheless, glext.h neither glxext.h are required to include, they are
already included conditionally by gl.h and glx.h, respectively.
Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
https://bugzilla.gnome.org/show_bug.cgi?id=757577
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapidisplay_glx.h | 2 | ||||
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapiutils_glx.h | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapidisplay_glx.h b/gst-libs/gst/vaapi/gstvaapidisplay_glx.h index 8096cb22..485c413c 100644 --- a/gst-libs/gst/vaapi/gstvaapidisplay_glx.h +++ b/gst-libs/gst/vaapi/gstvaapidisplay_glx.h @@ -25,8 +25,6 @@ #ifndef GST_VAAPI_DISPLAY_GLX_H #define GST_VAAPI_DISPLAY_GLX_H -#include <GL/gl.h> -#include <GL/glx.h> #include <gst/vaapi/gstvaapidisplay_x11.h> G_BEGIN_DECLS diff --git a/gst-libs/gst/vaapi/gstvaapiutils_glx.h b/gst-libs/gst/vaapi/gstvaapiutils_glx.h index c89c85f4..d78b3ee7 100644 --- a/gst-libs/gst/vaapi/gstvaapiutils_glx.h +++ b/gst-libs/gst/vaapi/gstvaapiutils_glx.h @@ -28,9 +28,7 @@ #include "config.h" #include "libgstvaapi_priv_check.h" #include <GL/gl.h> -#include <GL/glext.h> #include <GL/glx.h> -#include <GL/glxext.h> #include <glib.h> #if GLX_GLXEXT_VERSION < 18 |