Mercurial > mplayer.hg
changeset 30151:631442f20e95
Make vo gl print the OpenGL vendor and version strings.
author | reimar |
---|---|
date | Sun, 03 Jan 2010 18:44:56 +0000 |
parents | 16c71b965952 |
children | 629b30951662 |
files | libvo/vo_gl.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_gl.c Sun Jan 03 17:12:12 2010 +0000 +++ b/libvo/vo_gl.c Sun Jan 03 18:44:56 2010 +0000 @@ -449,6 +449,7 @@ 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);