Commit bc6e1b20 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

EGL: print error when configuration is not usable (refs #7634)

parent 65edb507
......@@ -181,7 +181,10 @@ static int Open (vlc_object_t *obj, const struct gl_api *api)
if (eglChooseConfig (dpy, conf_attr, cfgv, 1, &cfgc) != EGL_TRUE
|| cfgc == 0)
{
msg_Err (obj, "cannot choose EGL configuration");
goto error;
}
/* Create a drawing surface */
EGLNativeWindowType win = vlc_eglGetWindow(gl->surface);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment