commit | a469c7288d67829fd70a9266835e0748bf904d81 | [log] [tgz] |
---|---|---|
author | Piotr Byszewski <piotr.byszewski@mobica.com> | Wed Jul 19 14:13:05 2017 +0200 |
committer | Alexander Galazin <Alexander.Galazin@arm.com> | Wed Jul 19 10:53:18 2017 -0400 |
tree | 2137ac9d294b598d5e27d9855d6979b70ffdd7d1 | |
parent | f3a36239082b721e1f5f6849afc70af65b42e3ed [diff] |
Fix missing GLX_CONTEXT_OPENGL_NO_ERROR_ARB token This change resolve compilation error that occurred when glxext header is too old and does not contain required define. Components: Framework VK-GL-CTS issue: 581 Change-Id: Ifdb37f3921dceec0ea4d9f048aa1e8ac92826889
diff --git a/framework/platform/lnx/X11/tcuLnxX11GlxPlatform.cpp b/framework/platform/lnx/X11/tcuLnxX11GlxPlatform.cpp index 8714c34..0194772 100644 --- a/framework/platform/lnx/X11/tcuLnxX11GlxPlatform.cpp +++ b/framework/platform/lnx/X11/tcuLnxX11GlxPlatform.cpp
@@ -35,6 +35,10 @@ #define GLX_GLXEXT_PROTOTYPES #include <GL/glx.h> +#ifndef GLX_CONTEXT_OPENGL_NO_ERROR_ARB +#define GLX_CONTEXT_OPENGL_NO_ERROR_ARB 0x31B3 +#endif + namespace tcu { namespace lnx