diff options
author | wm4 <wm4@nowhere> | 2020-08-27 11:28:39 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-08-27 11:55:20 +0200 |
commit | b5b83a1ed5236346754b75d1fb376dc5c683b7bd (patch) | |
tree | c5d4ae1bf54907439d77c811bf4256d5e955f198 | |
parent | fb736b49f14f5f7ef92c02757a640ee9e320e95e (diff) | |
download | mpv-b5b83a1ed5236346754b75d1fb376dc5c683b7bd.tar.bz2 mpv-b5b83a1ed5236346754b75d1fb376dc5c683b7bd.tar.xz |
vo_gpu: EGL: slightly better debug logging of EGL configs
-rw-r--r-- | video/out/opengl/egl_helpers.c | 3 |
1 files changed, 2 insertions, 1 deletions
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=<error>\n", name); } |