summaryrefslogtreecommitdiffstats
path: root/waftools/fragments/gl_x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'waftools/fragments/gl_x11.c')
-rw-r--r--waftools/fragments/gl_x11.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/waftools/fragments/gl_x11.c b/waftools/fragments/gl_x11.c
new file mode 100644
index 0000000000..6c617d43ee
--- /dev/null
+++ b/waftools/fragments/gl_x11.c
@@ -0,0 +1,9 @@
+#include <X11/Xlib.h>
+#include <GL/glx.h>
+#include <GL/gl.h>
+
+int main(int argc, char *argv[]) {
+ glXCreateContext(NULL, NULL, NULL, True);
+ glFinish();
+ return 0;
+}