egl: Change config attributes to GLES 2.0 instead of 1.0/1.1.

ARM platforms may only advertise GLES 2.0 configurations.

Signed-off-by: David Riley <davidriley@chromium.org>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
macos/master
David Riley 5 years ago committed by Gert Wollny
parent 96c359b542
commit a082ef0fc8
  1. 2
      src/virgl_egl_context.c

@ -150,7 +150,7 @@ struct virgl_egl *virgl_egl_init(int fd, bool surfaceless, bool gles)
return NULL;
if (gles)
conf_att[3] = EGL_OPENGL_ES_BIT;
conf_att[3] = EGL_OPENGL_ES2_BIT;
if (surfaceless) {
conf_att[1] = EGL_PBUFFER_BIT;

Loading…
Cancel
Save