From: Chia-I Wu Date: Fri, 5 Feb 2010 03:06:44 +0000 (+0800) Subject: egl_dri2: Add a debug print for DRI2 extensions. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8d411c9a127beb75b2af8b9135b971afa53202c7;p=mesa.git egl_dri2: Add a debug print for DRI2 extensions. --- diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index 23b57b7ee6f..d5fabbf4d8f 100644 --- a/src/egl/drivers/dri2/egl_dri2.c +++ b/src/egl/drivers/dri2/egl_dri2.c @@ -595,6 +595,7 @@ 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); if ((strcmp(extensions[i]->name, __DRI2_FLUSH) == 0)) dri2_dpy->flush = (__DRI2flushExtension *) extensions[i]; }