diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-05-28 15:25:01 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-05-28 15:25:01 -0600 |
commit | 8cd33faee61626de7320efb4e20d95e4cfb7a573 (patch) | |
tree | 40c49ab860e63e94afb9ec2768dc07c845938367 /progs/egl/eglinfo.c | |
parent | e084fe54f93c9d51df99812b76d3299b0cff57a3 (diff) |
egl: query/print EGL_CLIENT_APIS
Diffstat (limited to 'progs/egl/eglinfo.c')
-rw-r--r-- | progs/egl/eglinfo.c | 3 |
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"); |