summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-11-21 22:32:53 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-11-21 22:32:53 +0000
commit1bd34477aaa25af20bda40adb056540b1e48f671 (patch)
tree80e83846d008a8f3c3b3873bcd9c8c8931d1fe47 /libvo
parentc045f6525f77146f73ae3565ac035a87b0c60453 (diff)
downloadmpv-1bd34477aaa25af20bda40adb056540b1e48f671.tar.bz2
mpv-1bd34477aaa25af20bda40adb056540b1e48f671.tar.xz
Print which visual glXChooseVisual chose when running in verbose mode.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29948 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_gl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c
index 69d9740dee..2fce305645 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -559,6 +559,7 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin
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),