Mercurial > mplayer.hg
changeset 31070:52eb10f9e51e
Also print OpenGL renderer string with vendor and version with -v
author | reimar |
---|---|
date | Sat, 01 May 2010 22:49:05 +0000 |
parents | d7c792ed942e |
children | adf57737978c |
files | libvo/vo_gl.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_gl.c Sat May 01 15:38:37 2010 +0000 +++ b/libvo/vo_gl.c Sat May 01 22:49:05 2010 +0000 @@ -477,9 +477,10 @@ const char *extensions = mpglGetString(GL_EXTENSIONS); const char *vendor = mpglGetString(GL_VENDOR); const char *version = mpglGetString(GL_VERSION); + const char *renderer = mpglGetString(GL_RENDERER); int is_ati = vendor && 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); + mp_msg(MSGT_VO, MSGL_V, "[gl] Running on OpenGL '%s' by '%s', version '%s'\n", renderer, 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);