diff options
author | Aman Gupta <aman@tmm1.net> | 2018-04-09 12:32:46 -0700 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2018-04-12 02:31:07 +0300 |
commit | 9efb0278e7cdb851fc6696e94e8f7baa9b95235a (patch) | |
tree | 9f885fd077a90d24fa322c451f70765f49b8a62c /video/out/opengl/egl_helpers.c | |
parent | 36161f0456353990f82e08989e92131191fcd2e2 (diff) |
opengl: include details in EGL context errors
Diffstat (limited to 'video/out/opengl/egl_helpers.c')
-rw-r--r-- | video/out/opengl/egl_helpers.c | 6 |
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; } |