# HG changeset patch # User reimar # Date 1272754145 0 # Node ID 52eb10f9e51e22dcc619f21372c92ca0915fe512 # Parent d7c792ed942e04dad61aa2be7749d81bb0c690c0 Also print OpenGL renderer string with vendor and version with -v diff -r d7c792ed942e -r 52eb10f9e51e libvo/vo_gl.c --- 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);