summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2018-04-09 12:32:46 -0700
committerJan Ekström <jeebjp@gmail.com>2018-04-12 02:31:07 +0300
commit9efb0278e7cdb851fc6696e94e8f7baa9b95235a (patch)
tree9f885fd077a90d24fa322c451f70765f49b8a62c
parent36161f0456353990f82e08989e92131191fcd2e2 (diff)
downloadmpv-9efb0278e7cdb851fc6696e94e8f7baa9b95235a.tar.bz2
mpv-9efb0278e7cdb851fc6696e94e8f7baa9b95235a.tar.xz
opengl: include details in EGL context errors
-rw-r--r--video/out/opengl/egl_helpers.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/video/out/opengl/egl_helpers.c b/video/out/opengl/egl_helpers.c
index 2de02b3eb4..8f8a7fee3b 100644
--- a/video/out/opengl/egl_helpers.c
+++ b/video/out/opengl/egl_helpers.c
@@ -101,7 +101,7 @@ static bool create_context(struct ra_ctx *ctx, EGLDisplay display,
if (!num_configs) {
talloc_free(configs);
- MP_MSG(ctx, msgl, "Could not choose EGLConfig!\n");
+ MP_MSG(ctx, msgl, "Could not choose EGLConfig for %s!\n", name);
return false;
}
@@ -110,7 +110,7 @@ static bool create_context(struct ra_ctx *ctx, EGLDisplay display,
chosen = cb.refine_config(cb.user_data, configs, num_configs);
if (chosen < 0) {
talloc_free(configs);
- MP_MSG(ctx, msgl, "Could not choose EGLConfig!\n");
+ MP_MSG(ctx, msgl, "Could not refine EGLConfig for %s!\n", name);
return false;
}
EGLConfig config = configs[chosen];
@@ -157,7 +157,7 @@ static bool create_context(struct ra_ctx *ctx, EGLDisplay display,
}
if (!egl_ctx) {
- MP_MSG(ctx, msgl, "Could not create EGL context!\n");
+ MP_MSG(ctx, msgl, "Could not create EGL context for %s!\n", name);
return false;
}