libs: egl: utils: fix usage of GstGL macros

Include gl.h for the required GstGL symbols.

https://bugzilla.gnome.org/show_bug.cgi?id=795391
This commit is contained in:
Víctor Manuel Jáquez Leal 2018-04-24 10:02:33 +02:00
parent bfd4b43c16
commit 9fde93f80c

View file

@ -22,8 +22,11 @@
#include "sysdeps.h" #include "sysdeps.h"
#include "gstvaapiutils_egl.h" #include "gstvaapiutils_egl.h"
#if USE_GST_GL_HELPERS && GST_GL_HAVE_PLATFORM_EGL #if USE_GST_GL_HELPERS
# include <gst/gl/egl/gstgldisplay_egl.h> # include <gst/gl/gl.h>
# if GST_GL_HAVE_PLATFORM_EGL
# include <gst/gl/egl/gstgldisplay_egl.h>
# endif
#endif #endif
#define DEBUG 1 #define DEBUG 1