summaryrefslogtreecommitdiffstats
path: root/waftools/fragments
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-06-22 13:16:33 +0200
committerwm4 <wm4@nowhere>2017-06-22 13:17:40 +0200
commit0788d7961fd3816b1965a6ab90cd8d9994c774fe (patch)
treec40b7965680071b5f95b2bc95cab89435e349ad3 /waftools/fragments
parent3c1401996b15386a0fe108a3b9baf4e4a5634f0a (diff)
downloadmpv-0788d7961fd3816b1965a6ab90cd8d9994c774fe.tar.bz2
mpv-0788d7961fd3816b1965a6ab90cd8d9994c774fe.tar.xz
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).
Diffstat (limited to 'waftools/fragments')
-rw-r--r--waftools/fragments/gl_x11.c4
1 files changed, 0 insertions, 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 <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;
}