gl: Fix compiler warning about unused const variable with gcc 6
authorSebastian Dröge <sebastian@centricular.com>
Thu, 18 Feb 2016 08:33:20 +0000 (10:33 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 18 Feb 2016 08:33:20 +0000 (10:33 +0200)
commit22e75a2112ee2cca9e729b4e30727605689e6b07
tree1e20fe35c36e9b98e6e6c58d327ad3abb4b2b59c
parent923dd696f2d7777bd7554fb5ab69b63530f54865
gl: Fix compiler warning about unused const variable with gcc 6

  CC       libgstgl_x11_la-gstglcontext_glx.lo
In file included from gstglcontext_glx.c:39:0:
../utils/opengl_versions.h:52:43: error: ‘gles2_versions’ defined but not used [-Werror=unused-const-variable]
 static const struct { int major, minor; } gles2_versions[] = {
                                           ^~~~~~~~~~~~~~
gst-libs/gst/gl/Makefile.am
gst-libs/gst/gl/egl/gstglcontext_egl.c
gst-libs/gst/gl/utils/gles_versions.h [new file with mode: 0644]
gst-libs/gst/gl/utils/opengl_versions.h