From b5b83a1ed5236346754b75d1fb376dc5c683b7bd Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 27 Aug 2020 11:28:39 +0200 Subject: vo_gpu: EGL: slightly better debug logging of EGL configs --- video/out/opengl/egl_helpers.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'video/out') diff --git a/video/out/opengl/egl_helpers.c b/video/out/opengl/egl_helpers.c index 96d7ccbae6..ad026ba253 100644 --- a/video/out/opengl/egl_helpers.c +++ b/video/out/opengl/egl_helpers.c @@ -61,6 +61,7 @@ static const struct mp_egl_config_attr mp_egl_attribs[] = { MP_EGL_ATTRIB(EGL_COLOR_BUFFER_TYPE), MP_EGL_ATTRIB(EGL_CONFIG_CAVEAT), MP_EGL_ATTRIB(EGL_CONFORMANT), + MP_EGL_ATTRIB(EGL_NATIVE_VISUAL_ID), }; static void dump_egl_config(struct mp_log *log, int msgl, EGLDisplay display, @@ -70,7 +71,7 @@ static void dump_egl_config(struct mp_log *log, int msgl, EGLDisplay display, const char *name = mp_egl_attribs[n].name; EGLint v = -1; if (eglGetConfigAttrib(display, config, mp_egl_attribs[n].attrib, &v)) { - mp_msg(log, msgl, " %s=%d\n", name, v); + mp_msg(log, msgl, " %s=0x%x\n", name, v); } else { mp_msg(log, msgl, " %s=\n", name); } -- cgit v1.2.3