diff options
author | sfan5 <sfan5@live.de> | 2024-03-20 22:46:01 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2024-03-21 18:27:08 +0100 |
commit | b3ca600acbbcdc002d28a0160366f0ac21fc4de8 (patch) | |
tree | 5ee9649c2aac1f9b1aec71bbf393326fb6494cd9 | |
parent | 91489c946689763c36e4d720d6048037252818f7 (diff) | |
download | mpv-b3ca600acbbcdc002d28a0160366f0ac21fc4de8.tar.bz2 mpv-b3ca600acbbcdc002d28a0160366f0ac21fc4de8.tar.xz |
video/egl_helpers: log error for eglCreateContext
-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 3bf6239e41..cc83b27349 100644 --- a/video/out/opengl/egl_helpers.c +++ b/video/out/opengl/egl_helpers.c @@ -203,7 +203,8 @@ static bool create_context(struct ra_ctx *ctx, EGLDisplay display, } if (!egl_ctx) { - MP_MSG(ctx, msgl, "Could not create EGL context for %s!\n", name); + MP_MSG(ctx, msgl, "Could not create EGL context for %s (error=%d)!\n", + name, eglGetError()); return false; } |