From c48bd0ef183c7ae4c2893495ac9cbca08c06bbae Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 13 Sep 2016 20:38:05 +0200 Subject: vo_opengl: EGL: silence eglBindAPI() error message It's not helpful and will be printed with EGL implementations that don't support OpenGL at all. Just shut it up. --- video/out/opengl/egl_helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/opengl/egl_helpers.c') diff --git a/video/out/opengl/egl_helpers.c b/video/out/opengl/egl_helpers.c index b06e6a79af..e96ae93b06 100644 --- a/video/out/opengl/egl_helpers.c +++ b/video/out/opengl/egl_helpers.c @@ -36,7 +36,7 @@ static bool create_context(EGLDisplay display, struct mp_log *log, int msgl, mp_msg(log, MSGL_V, "Trying to create %s context.\n", es ? "GLES" : "GL"); if (!eglBindAPI(es ? EGL_OPENGL_ES_API : EGL_OPENGL_API)) { - mp_msg(log, msgl, "Could not bind API!\n"); + mp_msg(log, MSGL_V, "Could not bind API!\n"); return false; } -- cgit v1.2.3