[MPlayer-cvslog] r31127 - trunk/libvo/vo_gl.c

reimar subversion at mplayerhq.hu
Sun May 2 00:49:05 CEST 2010


Author: reimar
Date: Sun May  2 00:49:05 2010
New Revision: 31127

Log:
Also print OpenGL renderer string with vendor and version with -v

Modified:
   trunk/libvo/vo_gl.c

Modified: trunk/libvo/vo_gl.c
==============================================================================
--- trunk/libvo/vo_gl.c	Sat May  1 20:55:40 2010	(r31126)
+++ trunk/libvo/vo_gl.c	Sun May  2 00:49:05 2010	(r31127)
@@ -477,9 +477,10 @@ static void autodetectGlExtensions(void)
   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);


More information about the MPlayer-cvslog mailing list