From 58a0c43cf45bab993e842b13d89d70335457a5a0 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 30 Dec 2016 19:53:46 +0100 Subject: vo_opengl: x11: move RGBA visual test to x11_common.c So that the EGL code can use it too. Also print the actual FB config ID, instead of nonsense. (I _think_ once in the past a certain GLX implementation just used numeric config IDs casted to EGLConfig - or at least that would explain this nonsense.) --- video/out/x11_common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'video/out/x11_common.h') diff --git a/video/out/x11_common.h b/video/out/x11_common.h index de2a805efd..6c92fdb480 100644 --- a/video/out/x11_common.h +++ b/video/out/x11_common.h @@ -139,4 +139,6 @@ void vo_x11_wait_events(struct vo *vo, int64_t until_time_us); void vo_x11_silence_xlib(int dir); +bool vo_x11_is_rgba_visual(XVisualInfo *v); + #endif /* MPLAYER_X11_COMMON_H */ -- cgit v1.2.3