From: Brian Paul Date: Wed, 28 May 2008 16:40:25 +0000 (-0600) Subject: comments in _eglMain() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=31e70fa275a48b8020c14017919e08d21f5e982f;p=mesa.git comments in _eglMain() --- diff --git a/src/egl/drivers/dri/egldri.c b/src/egl/drivers/dri/egldri.c index 35b6d0d3d10..1a922a74717 100644 --- a/src/egl/drivers/dri/egldri.c +++ b/src/egl/drivers/dri/egldri.c @@ -114,6 +114,10 @@ _eglMain(_EGLDisplay *dpy, const char *args) _eglLog(_EGL_WARNING, "%s DRM devices not found.", path); return EGL_FALSE; } + + /* loop over dir entries looking for cardX where "X" is in the + * dpy->DriverName ":X" string. + */ while ((dirent = readdir(dir))) { if (strncmp(&dirent->d_name[0], "card", 4) != 0)