From d0e59b4ff9dcd60d7d428512b02dbfe17ca0f500 Mon Sep 17 00:00:00 2001 From: jkeil Date: Tue, 3 Sep 2002 18:10:42 +0000 Subject: Add the code that chooses a good X11 truecolor visual to the vo_x11 config() function. This is useful for framebuffers on Sun hardware, where we have multiple truecolor visuals of different depths available, and the root window typically runs at depth 8, yet there are 24 bit true color visuals available as well. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7257 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/x11_common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libvo/x11_common.h') diff --git a/libvo/x11_common.h b/libvo/x11_common.h index e8b2516dfa..c016a04de5 100644 --- a/libvo/x11_common.h +++ b/libvo/x11_common.h @@ -61,3 +61,5 @@ void vo_vm_close(Display*); #endif #endif + +int vo_find_depth_from_visuals(Display *dpy, int screen, Visual **visual_return); -- cgit v1.2.3