summaryrefslogtreecommitdiffstats
path: root/config.tests/unix/opengles2/opengles2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'config.tests/unix/opengles2/opengles2.cpp')
-rw-r--r--config.tests/unix/opengles2/opengles2.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/config.tests/unix/opengles2/opengles2.cpp b/config.tests/unix/opengles2/opengles2.cpp
new file mode 100644
index 0000000..493530d
--- /dev/null
+++ b/config.tests/unix/opengles2/opengles2.cpp
@@ -0,0 +1,11 @@
+#include <EGL/egl.h>
+#include <GLES2/gl2.h>
+
+int main(int, char **)
+{
+ eglInitialize(0, 0, 0);
+ glUniform1f(1, GLfloat(1.0));
+ glClear(GL_COLOR_BUFFER_BIT);
+
+ return 0;
+}