diff options
author | wm4 <wm4@nowhere> | 2016-05-23 17:06:38 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-05-23 21:27:18 +0200 |
commit | cc4a0571fa63420aa06f648dcc2c529b6da62672 (patch) | |
tree | b4b8a7bdee07904cd0566bfeab38c7d57ea22ee6 | |
parent | c06a92e09e011d354235d9ad19aa7265da322691 (diff) |
vo_opengl: slightly improve logging of loaded extensions
Only log when actual extensions are loaded, never log anything about
builtins.
-rw-r--r-- | video/out/opengl/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/opengl/common.c b/video/out/opengl/common.c index 7df667f08c..ed3acede1c 100644 --- a/video/out/opengl/common.c +++ b/video/out/opengl/common.c @@ -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); } } |