summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-13 20:38:05 +0200
committerwm4 <wm4@nowhere>2016-09-13 20:38:05 +0200
commitc48bd0ef183c7ae4c2893495ac9cbca08c06bbae (patch)
tree3c97e1888234c2fe753daccfe1dbb3436197bc28
parent9def3682d159043cd5d6c32c22b15b3b9fc45c44 (diff)
downloadmpv-c48bd0ef183c7ae4c2893495ac9cbca08c06bbae.tar.bz2
mpv-c48bd0ef183c7ae4c2893495ac9cbca08c06bbae.tar.xz
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.
-rw-r--r--video/out/opengl/egl_helpers.c2
1 files changed, 1 insertions, 1 deletions
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;
}