diff options
author | Kristian Høgsberg <[email protected]> | 2010-02-05 10:53:14 -0500 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-02-05 12:01:28 -0500 |
commit | 832f2d3c392b0f222415eb1f1907b7790a1d2bdd (patch) | |
tree | f8b7eb8b1cfd5228a65fa6405b8c0dfff92896d9 /src | |
parent | 9c94faeff18c942417daaed87a16909790c72a60 (diff) |
egl_dri2: Log both driver and core extensions
Diffstat (limited to 'src')
-rw-r--r-- | src/egl/drivers/dri2/egl_dri2.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index e9e75ec36fe..8b01b8453e7 100644 --- a/src/egl/drivers/dri2/egl_dri2.c +++ b/src/egl/drivers/dri2/egl_dri2.c @@ -498,6 +498,8 @@ dri2_initialize(_EGLDriver *drv, _EGLDisplay *disp, } for (i = 0; extensions[i]; i++) { + _eglLog(_EGL_DEBUG, "DRI2: found driver extension `%s'", + extensions[i]->name); if (strcmp(extensions[i]->name, __DRI_CORE) == 0) dri2_dpy->core = (__DRIcoreExtension *) extensions[i]; if (strcmp(extensions[i]->name, __DRI_DRI2) == 0) @@ -569,7 +571,8 @@ dri2_initialize(_EGLDriver *drv, _EGLDisplay *disp, extensions = dri2_dpy->core->getExtensions(dri2_dpy->dri_screen); for (i = 0; extensions[i]; i++) { - _eglLog(_EGL_DEBUG, "DRI2: found extension `%s'", extensions[i]->name); + _eglLog(_EGL_DEBUG, "DRI2: found core extension `%s'", + extensions[i]->name); if ((strcmp(extensions[i]->name, __DRI2_FLUSH) == 0)) dri2_dpy->flush = (__DRI2flushExtension *) extensions[i]; } |