summaryrefslogtreecommitdiffstats
path: root/config.tests/x11/opengl/opengl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'config.tests/x11/opengl/opengl.cpp')
-rw-r--r--config.tests/x11/opengl/opengl.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/config.tests/x11/opengl/opengl.cpp b/config.tests/x11/opengl/opengl.cpp
new file mode 100644
index 0000000..ad69379
--- /dev/null
+++ b/config.tests/x11/opengl/opengl.cpp
@@ -0,0 +1,13 @@
+#include <GL/gl.h>
+#include <GL/glu.h>
+
+#ifndef GLU_VERSION_1_2
+# error "Required GLU version 1.2 not found."
+#endif
+
+int main(int, char **)
+{
+ GLuint x;
+ x = 0;
+ return 0;
+}