# HG changeset patch # User reimar # Date 1258842773 0 # Node ID 31fe2176a8ef3333baa6a89376ff0d537f4ff02d # Parent 908f55fb5ed891e80ffa24aa6e14f716cbbcdada Print which visual glXChooseVisual chose when running in verbose mode. diff -r 908f55fb5ed8 -r 31fe2176a8ef libvo/vo_gl.c --- 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),