diff options
author | Brian Paul <[email protected]> | 2008-05-28 10:40:25 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-05-29 17:04:24 -0600 |
commit | 31e70fa275a48b8020c14017919e08d21f5e982f (patch) | |
tree | 35dd70e8dca24ccbd21b1c564a0204b167f643b7 /src/egl | |
parent | ae10775b731c8c58aa42f8046b6b557b4659cb7c (diff) |
comments in _eglMain()
Diffstat (limited to 'src/egl')
-rw-r--r-- | src/egl/drivers/dri/egldri.c | 4 |
1 files changed, 4 insertions, 0 deletions
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) |