summaryrefslogtreecommitdiff
path: root/src/egl/drivers
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2010-02-05 11:06:44 +0800
committerChia-I Wu <olvaffe@gmail.com>2010-02-05 11:44:16 +0800
commit8d411c9a127beb75b2af8b9135b971afa53202c7 (patch)
tree9e2b152d8a6daf43d810c869c5ad5571e9b0513a /src/egl/drivers
parent2eb7a2fccd5416d56fd88618ed3138aeeaf0da1c (diff)
egl_dri2: Add a debug print for DRI2 extensions.
Diffstat (limited to 'src/egl/drivers')
-rw-r--r--src/egl/drivers/dri2/egl_dri2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
index 23b57b7ee6..d5fabbf4d8 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];
}