summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-05-23 17:06:38 +0200
committerwm4 <wm4@nowhere>2016-05-23 21:27:18 +0200
commitcc4a0571fa63420aa06f648dcc2c529b6da62672 (patch)
treeb4b8a7bdee07904cd0566bfeab38c7d57ea22ee6 /video
parentc06a92e09e011d354235d9ad19aa7265da322691 (diff)
downloadmpv-cc4a0571fa63420aa06f648dcc2c529b6da62672.tar.bz2
mpv-cc4a0571fa63420aa06f648dcc2c529b6da62672.tar.xz
vo_opengl: slightly improve logging of loaded extensions
Only log when actual extensions are loaded, never log anything about builtins.
Diffstat (limited to 'video')
-rw-r--r--video/out/opengl/common.c4
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);
}
}