summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-03 18:44:56 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-03 18:44:56 +0000
commitfb26608318947b76908eec3d781f90c4f7548368 (patch)
treef0a169476c7fb2c91d830c59fdc86a84a95e3071
parentef395a2f08e0f96d8ae5f819927b17aa88000ecb (diff)
downloadmpv-fb26608318947b76908eec3d781f90c4f7548368.tar.bz2
mpv-fb26608318947b76908eec3d781f90c4f7548368.tar.xz
Make vo gl print the OpenGL vendor and version strings.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30193 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libvo/vo_gl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c
index 071fccebb2..ab24a65494 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -449,6 +449,7 @@ static void autodetectGlExtensions(void) {
const char *version = GetString(GL_VERSION);
int is_ati = strstr(vendor, "ATI") != NULL;
int ati_broken_pbo = 0;
+ mp_msg(MSGT_VO, MSGL_V, "[gl] Running on OpenGL by '%s', versions '%s'\n", vendor, version);
if (is_ati && strncmp(version, "2.1.", 4) == 0) {
int ver = atoi(version + 4);
mp_msg(MSGT_VO, MSGL_V, "[gl] Detected ATI driver version: %i\n", ver);