From 0788d7961fd3816b1965a6ab90cd8d9994c774fe Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 22 Jun 2017 13:16:33 +0200 Subject: [PATCH] build: reduce GLX test fragment While it doesn't matter for anything, we don't really need to check for GL symbols (neither headers nor for linking). --- waftools/fragments/gl_x11.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/waftools/fragments/gl_x11.c b/waftools/fragments/gl_x11.c index 53b82e46ba..ff11f551b2 100644 --- a/waftools/fragments/gl_x11.c +++ b/waftools/fragments/gl_x11.c @@ -1,6 +1,5 @@ #include #include -#include #include int main(int argc, char *argv[]) { @@ -8,8 +7,5 @@ int main(int argc, char *argv[]) { glXQueryExtensionsString(NULL, 0); glXGetProcAddressARB(""); glXGetCurrentDisplay(); - glFinish(); - (void)GL_RGB32F; // arbitrary OpenGL 3.0 symbol - (void)GL_LUMINANCE16; // arbitrary OpenGL legacy-only symbol return 0; }