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

reimar subversion at mplayerhq.hu
Sun Jan 3 19:44:56 CET 2010


Author: reimar
Date: Sun Jan  3 19:44:56 2010
New Revision: 30193

Log:
Make vo gl print the OpenGL vendor and version strings.

Modified:
   trunk/libvo/vo_gl.c

Modified: trunk/libvo/vo_gl.c
==============================================================================
--- trunk/libvo/vo_gl.c	Sun Jan  3 18:12:12 2010	(r30192)
+++ trunk/libvo/vo_gl.c	Sun Jan  3 19:44:56 2010	(r30193)
@@ -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);


More information about the MPlayer-cvslog mailing list