summaryrefslogtreecommitdiff
path: root/progs/egl
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-05-28 15:25:01 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-05-28 15:25:01 -0600
commit8cd33faee61626de7320efb4e20d95e4cfb7a573 (patch)
tree40c49ab860e63e94afb9ec2768dc07c845938367 /progs/egl
parente084fe54f93c9d51df99812b76d3299b0cff57a3 (diff)
egl: query/print EGL_CLIENT_APIS
Diffstat (limited to 'progs/egl')
-rw-r--r--progs/egl/eglinfo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/egl/eglinfo.c b/progs/egl/eglinfo.c
index 85de2173fc..442de5d63f 100644
--- a/progs/egl/eglinfo.c
+++ b/progs/egl/eglinfo.c
@@ -150,6 +150,9 @@ main(int argc, char *argv[])
printf("EGL API version: %d.%d\n", maj, min);
printf("EGL vendor string: %s\n", eglQueryString(d, EGL_VENDOR));
printf("EGL version string: %s\n", eglQueryString(d, EGL_VERSION));
+#ifdef EGL_VERSION_1_2
+ printf("EGL client APIs: %s\n", eglQueryString(d, EGL_CLIENT_APIS));
+#endif
printf("EGL extensions string:\n");
printf(" %s\n", eglQueryString(d, EGL_EXTENSIONS));
printf("\n");