vo_opengl: slightly improve logging of loaded extensions

Only log when actual extensions are loaded, never log anything about
builtins.
This commit is contained in:
wm4 2016-05-23 17:06:38 +02:00
parent c06a92e09e
commit cc4a0571fa
1 changed files with 2 additions and 2 deletions

View File

@ -514,8 +514,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");
if (!must_exist && section->extension)
mp_verbose(log, "Loaded extension %s.\n", section->extension);
}
}