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.
This commit is contained in:
wm4 2016-09-13 20:38:05 +02:00
parent 9def3682d1
commit c48bd0ef18
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}