vo_opengl: log some more stuff in verbose mode

This commit is contained in:
wm4 2015-07-03 15:12:42 +02:00
parent 5446637e99
commit cc51dafa96
2 changed files with 4 additions and 1 deletions

View File

@ -463,6 +463,8 @@ void mpgl_load_functions2(GL *gl, void *(*get_fn)(void *ctx, const char *n),
if (loaded[i])
*funcptr = loaded[i];
}
mp_verbose(log, "Loaded functions for %d/%s.\n", ver_core,
section->extension ? section->extension : "builtin");
}
}

View File

@ -58,9 +58,10 @@ static struct gl_hwdec *load_hwdec_driver(struct mp_log *log, GL *gl,
.gl_texture_target = GL_TEXTURE_2D,
.reject_emulated = is_auto,
};
mp_verbose(log, "Trying hwdec driver '%s'\n", drv->api_name);
if (hwdec->driver->create(hwdec) < 0) {
talloc_free(hwdec);
mp_verbose(log, "Couldn't load hwdec driver '%s'\n", drv->api_name);
mp_verbose(log, "Loading failed.\n");
return NULL;
}
return hwdec;