summaryrefslogtreecommitdiffstats
path: root/video/out/x11_common.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-12-30 19:53:46 +0100
committerwm4 <wm4@nowhere>2016-12-30 20:04:32 +0100
commit58a0c43cf45bab993e842b13d89d70335457a5a0 (patch)
tree5ab0bbab7d1abae82f18f91cb4722fac736ba6cf /video/out/x11_common.h
parent7033a4334bcf457b0cadaca7f4b0ce8099469632 (diff)
downloadmpv-58a0c43cf45bab993e842b13d89d70335457a5a0.tar.bz2
mpv-58a0c43cf45bab993e842b13d89d70335457a5a0.tar.xz
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.)
Diffstat (limited to 'video/out/x11_common.h')
-rw-r--r--video/out/x11_common.h2
1 files changed, 2 insertions, 0 deletions
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 */