From 9efb0278e7cdb851fc6696e94e8f7baa9b95235a Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Mon, 9 Apr 2018 12:32:46 -0700 Subject: opengl: include details in EGL context errors --- video/out/opengl/egl_helpers.c | 6 +++--- 1 file 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; } -- cgit v1.2.3