summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-26 23:08:07 +0200
committerwm4 <wm4@nowhere>2014-05-26 23:08:07 +0200
commit9acd263542b7ceae3ad5427a7be3131fb7f9a68c (patch)
tree73e15817f08ec51cafa668656a0b7e5669fdd9cd
parent66f3e93ed363a262cfa2f5b4cffe9ec365a3ce02 (diff)
downloadmpv-9acd263542b7ceae3ad5427a7be3131fb7f9a68c.tar.bz2
mpv-9acd263542b7ceae3ad5427a7be3131fb7f9a68c.tar.xz
gl_common: minor cosmetic changes
Why are you reading this message.
-rw-r--r--video/out/gl_common.c19
1 files changed, 9 insertions, 10 deletions
diff --git a/video/out/gl_common.c b/video/out/gl_common.c
index 82f5e2ac98..271c2f3595 100644
--- a/video/out/gl_common.c
+++ b/video/out/gl_common.c
@@ -503,13 +503,13 @@ void mpgl_load_functions(GL *gl, void *(*getProcAddress)(const GLubyte *),
const char *version = gl->GetString(GL_VERSION);
sscanf(version, "%d.%d", &major, &minor);
gl->version = MPGL_VER(major, minor);
- mp_msg(log, MSGL_V, "Detected OpenGL %d.%d.\n", major, minor);
+ mp_verbose(log, "Detected OpenGL %d.%d.\n", major, minor);
- mp_msg(log, MSGL_V, "GL_VENDOR='%s'\n", gl->GetString(GL_VENDOR));
- mp_msg(log, MSGL_V, "GL_RENDERER='%s'\n", gl->GetString(GL_RENDERER));
- mp_msg(log, MSGL_V, "GL_VERSION='%s'\n", gl->GetString(GL_VERSION));
- mp_msg(log, MSGL_V, "GL_SHADING_LANGUAGE_VERSION='%s'\n",
- gl->GetString(GL_SHADING_LANGUAGE_VERSION));
+ mp_verbose(log, "GL_VENDOR='%s'\n", gl->GetString(GL_VENDOR));
+ mp_verbose(log, "GL_RENDERER='%s'\n", gl->GetString(GL_RENDERER));
+ mp_verbose(log, "GL_VERSION='%s'\n", gl->GetString(GL_VERSION));
+ mp_verbose(log, "GL_SHADING_LANGUAGE_VERSION='%s'\n",
+ gl->GetString(GL_SHADING_LANGUAGE_VERSION));
// Note: This code doesn't handle CONTEXT_FORWARD_COMPATIBLE_BIT_ARB
// on OpenGL 3.0 correctly. Apparently there's no way to detect this
@@ -545,9 +545,8 @@ void mpgl_load_functions(GL *gl, void *(*getProcAddress)(const GLubyte *),
}
if (has_legacy)
- mp_msg(log, MSGL_V, "OpenGL legacy compat. found.\n");
- mp_msg(log, MSGL_DEBUG, "Combined OpenGL extensions string:\n%s\n",
- gl->extensions);
+ mp_verbose(log, "OpenGL legacy compat. found.\n");
+ mp_dbg(log, "Combined OpenGL extensions string:\n%s\n", gl->extensions);
for (int n = 0; n < sizeof(gl_functions) / sizeof(gl_functions[0]); n++) {
struct gl_functions *section = &gl_functions[n];
@@ -627,7 +626,7 @@ void mpgl_load_functions(GL *gl, void *(*getProcAddress)(const GLubyte *),
if (!is_software_gl(gl))
gl->mpgl_caps |= MPGL_CAP_NO_SW;
- mp_msg(log, MSGL_V, "Detected OpenGL features:");
+ mp_verbose(log, "Detected OpenGL features:");
list_features(gl->mpgl_caps, log, MSGL_V, false);
}