Demos (master): es[12]_info.c: Wrap EGL extension list as well

Kristian Høgsberg krh at kemper.freedesktop.org
Tue Apr 17 16:58:01 UTC 2012


Module: Demos
Branch: master
Commit: 0fa5f177419f0ffe48d1028ca41ba334d3b47773
URL:    http://cgit.freedesktop.org/mesa/demos/commit/?id=0fa5f177419f0ffe48d1028ca41ba334d3b47773

Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Tue Apr 17 12:57:38 2012 -0400

es[12]_info.c: Wrap EGL extension list as well

We currently wrap the list of GL extensions nicely, let's do that for
EGL extensions as well.

---

 src/egl/opengles1/es1_info.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/egl/opengles1/es1_info.c b/src/egl/opengles1/es1_info.c
index a97e9da..6600c7e 100644
--- a/src/egl/opengles1/es1_info.c
+++ b/src/egl/opengles1/es1_info.c
@@ -79,16 +79,17 @@ info(EGLDisplay egl_dpy)
    const char *s;
 
    s = eglQueryString(egl_dpy, EGL_VERSION);
-   printf("EGL_VERSION = %s\n", s);
+   printf("EGL_VERSION: %s\n", s);
 
    s = eglQueryString(egl_dpy, EGL_VENDOR);
-   printf("EGL_VENDOR = %s\n", s);
+   printf("EGL_VENDOR: %s\n", s);
 
    s = eglQueryString(egl_dpy, EGL_EXTENSIONS);
-   printf("EGL_EXTENSIONS = %s\n", s);
+   printf("EGL_EXTENSIONS:\n", s);
+   print_extension_list((char *) s);
 
    s = eglQueryString(egl_dpy, EGL_CLIENT_APIS);
-   printf("EGL_CLIENT_APIS = %s\n", s);
+   printf("EGL_CLIENT_APIS: %s\n", s);
 
 const char *glGetString (int name);
 




More information about the mesa-commit mailing list