egl: EGL_SCREEN_BIT_MESA is a valid bit.
Update _eglValidateConfig so that it passes the test. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
This commit is contained in:
@@ -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 |
|
||||
|
Reference in New Issue
Block a user