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).
This commit is contained in:
wm4 2017-06-22 13:16:33 +02:00
parent 3c1401996b
commit 0788d7961f
1 changed files with 0 additions and 4 deletions

View File

@ -1,6 +1,5 @@
#include <X11/Xlib.h>
#include <GL/glx.h>
#include <GL/gl.h>
#include <stddef.h>
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;
}