Commit 97a21ccd authored by Martin Heistermann's avatar Martin Heistermann

Fix warning about glext redefiniton.

Warning was:

/usr/include/x86_64-linux-gnu/qt5/QtGui/qopenglext.h:60: warning: "GL_GLEXT_VERSION" redefined
 #define GL_GLEXT_VERSION 20170325
 /usr/include/GL/glext.h:54: note: this is the location of the previous definition
 #define GL_GLEXT_VERSION 20180725

cf: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/commit/5479af133ffe6077aab8a8be8f397f246aacb773
parent 4414fdfc
......@@ -71,6 +71,16 @@
#endif
// qt refers to outdated include guard of glext.h, set the old guard if the
// new one is defined:
#ifdef __gl_glext_h_
# ifndef __glext_h_
# define __glext_h_ 1
# endif
#endif
#include "../Math/VectorT.hh"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment