Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- num_icds = 0;
- int path_icds;
- if ((dir_path != NULL) && (dir != NULL)) {
- path_icds = _open_drivers(dir, dir_path);
- num_icds=path_icds;
- if (path_icds!=0)
- _find_and_check_platforms(path_icds);
- debug(D_DUMP,"search for drivers at %s. num icds count %i path icds %i", dir_path_libdir_gl, num_icds,path_icds);
- }
- if ((dir_path_libdir != NULL) && (dir_libdir != NULL)) {
- path_icds = _open_drivers(dir_libdir, dir_path_libdir);
- num_icds+=path_icds;
- if (path_icds!=0)
- _find_and_check_platforms(path_icds);
- debug(D_DUMP,"search for drivers at %s. num icds count %i path icds %i", dir_path_libdir_gl, num_icds,path_icds);
- }
- if ((dir_path_libdir_gl != NULL) && (dir_libdir_gl != NULL)) {
- path_icds = _open_drivers(dir_libdir_gl, dir_path_libdir_gl);
- num_icds+=path_icds;
- if (path_icds!=0)
- _find_and_check_platforms(path_icds);
- debug(D_DUMP,"search for drivers at %s. num icds count %i path icds %i", dir_path_libdir_gl, num_icds,path_icds);
- }
- }
- if(num_icds == 0) {
- debug(D_DUMP,"ABORT: no num_icds");
- goto abort;
- }
- if (!is_dir)
- _find_and_check_platforms(num_icds);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement