From 344e7db975951c85d4523d77fc8af837e65bfa4e Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Tue, 3 May 2016 19:58:00 +1000 Subject: gl: fix gles3 header usage for older platforms Some platforms provide an old version of GLES2/gl2.h and GLES2/gl2ext.h that will fail when including GLES3/gl3.h due to missing typedef's. Seen on the RPi. --- gst-libs/gst/gl/gstglapi.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gst-libs') diff --git a/gst-libs/gst/gl/gstglapi.h b/gst-libs/gst/gl/gstglapi.h index 8c9266629..93b60b792 100644 --- a/gst-libs/gst/gl/gstglapi.h +++ b/gst-libs/gst/gl/gstglapi.h @@ -39,11 +39,12 @@ # include # include # else -# include -# include # if GST_GL_HAVE_GLES3 # include # include +# else +# include +# include # endif # endif # if !GST_GL_HAVE_OPENGL -- cgit v1.2.1