From 832f2d3c392b0f222415eb1f1907b7790a1d2bdd Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Date: Fri, 5 Feb 2010 10:53:14 -0500 Subject: egl_dri2: Log both driver and core extensions --- src/egl/drivers/dri2/egl_dri2.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/egl/drivers/dri2/egl_dri2.c') 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]; } -- cgit v1.2.3