Skip to content

Commit 0788d79

Browse files
author
wm4
committed
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).
1 parent 3c14019 commit 0788d79

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

waftools/fragments/gl_x11.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
#include <X11/Xlib.h>
22
#include <GL/glx.h>
3-
#include <GL/gl.h>
43
#include <stddef.h>
54

65
int main(int argc, char *argv[]) {
76
glXCreateContext(NULL, NULL, NULL, True);
87
glXQueryExtensionsString(NULL, 0);
98
glXGetProcAddressARB("");
109
glXGetCurrentDisplay();
11-
glFinish();
12-
(void)GL_RGB32F; // arbitrary OpenGL 3.0 symbol
13-
(void)GL_LUMINANCE16; // arbitrary OpenGL legacy-only symbol
1410
return 0;
1511
}

0 commit comments

Comments
 (0)