changeset 29906:31fe2176a8ef

Print which visual glXChooseVisual chose when running in verbose mode.
author reimar
date Sat, 21 Nov 2009 22:32:53 +0000
parents 908f55fb5ed8
children a64beb99965b
files libvo/vo_gl.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_gl.c	Sat Nov 21 22:30:33 2009 +0000
+++ b/libvo/vo_gl.c	Sat Nov 21 22:32:53 2009 +0000
@@ -559,6 +559,7 @@
       mp_msg(MSGT_VO, MSGL_ERR, "[gl] no GLX support present\n");
       return -1;
     }
+    mp_msg(MSGT_VO, MSGL_V, "[gl] GLX chose visual with ID 0x%x\n", (int)vinfo->visualid);
 
     vo_x11_create_vo_window(vinfo, vo_dx, vo_dy, d_width, d_height, flags,
             XCreateColormap(mDisplay, mRootWin, vinfo->visual, AllocNone),