target/egl: Fix misleading debug message.
When the name of the module is NULL, the process itself is dlopen()ed. Do not print libEGL debug: searching for st module (null)
This commit is contained in:
@@ -100,9 +100,14 @@ load_st_module(struct st_module *stmod,
|
||||
{
|
||||
struct st_api *(*create_api)(void);
|
||||
|
||||
_eglLog(_EGL_DEBUG, "searching for st module %s", name);
|
||||
if (name) {
|
||||
_eglLog(_EGL_DEBUG, "searching for st module %s", name);
|
||||
stmod->name = loader_strdup(name);
|
||||
}
|
||||
else {
|
||||
stmod->name = NULL;
|
||||
}
|
||||
|
||||
stmod->name = loader_strdup(name);
|
||||
if (stmod->name)
|
||||
_eglSearchPathForEach(dlopen_st_module_cb, (void *) stmod);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user