On Wed, 18 May 2016 17:48:47 +0200 "Miguel A. Vico" <[email protected]> wrote:
> This change modifies egl_choose_config() to accept a non-NULL but empty > <visual_id> array (i.e. n_ids == 0) > > Signed-off-by: Miguel A Vico Moya <[email protected]> > Reviewed-by: Andy Ritger <[email protected]> > Reviewed-by: James Jones <[email protected]> > --- > src/gl-renderer.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/gl-renderer.c b/src/gl-renderer.c > index 2e24271..3de14e2 100644 > --- a/src/gl-renderer.c > +++ b/src/gl-renderer.c > @@ -2493,7 +2493,7 @@ egl_choose_config(struct gl_renderer *gr, const EGLint > *attribs, > goto out; > } > > - if (!visual_id) > + if (!visual_id || n_ids == 0) > config_index = 0; > > for (i = 0; config_index == -1 && i < n_ids; i++) Hi All 5 patches pushed: 9c526e0..967b6bc master -> master I did a bit of rebasing and removed commit message notes about EGLDevice/EGLOutput. Thanks, pq
pgpRCSgJ5qbIw.pgp
Description: OpenPGP digital signature
_______________________________________________ wayland-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/wayland-devel
