X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fvideo_output%2Fegl.c;fp=modules%2Fvideo_output%2Fegl.c;h=aa0bd30eddaa560c26622e5c46804ab2c6616410;hb=bc6e1b20832112eb92df05c1da2b6175d62760a0;hp=63f5013ce47c4db20de70c887a4577c4aa65b553;hpb=65edb507680a4b875624c45cb193f0df352352ba;p=vlc diff --git a/modules/video_output/egl.c b/modules/video_output/egl.c index 63f5013ce4..aa0bd30edd 100644 --- a/modules/video_output/egl.c +++ b/modules/video_output/egl.c @@ -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);