From: Chia-I Wu Date: Mon, 4 Jan 2010 04:56:04 +0000 (+0800) Subject: egl: EGL_SCREEN_BIT_MESA is a valid bit. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=39790cab1349fbf69b61711c46eeef7ded6ae13a;p=mesa.git egl: EGL_SCREEN_BIT_MESA is a valid bit. Update _eglValidateConfig so that it passes the test. Signed-off-by: Chia-I Wu --- diff --git a/src/egl/main/eglconfig.c b/src/egl/main/eglconfig.c index 31d69a77080..4d149603ae5 100644 --- a/src/egl/main/eglconfig.c +++ b/src/egl/main/eglconfig.c @@ -324,6 +324,7 @@ _eglValidateConfig(const _EGLConfig *conf, EGLBoolean for_matching) mask = EGL_PBUFFER_BIT | EGL_PIXMAP_BIT | EGL_WINDOW_BIT | + EGL_SCREEN_BIT_MESA | /* XXX should check the extension */ EGL_VG_COLORSPACE_LINEAR_BIT | EGL_VG_ALPHA_FORMAT_PRE_BIT | EGL_MULTISAMPLE_RESOLVE_BOX_BIT |