egl: EGL_SCREEN_BIT_MESA is a valid bit.
authorChia-I Wu <olvaffe@gmail.com>
Mon, 4 Jan 2010 04:56:04 +0000 (12:56 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Tue, 12 Jan 2010 02:55:35 +0000 (10:55 +0800)
Update _eglValidateConfig so that it passes the test.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
src/egl/main/eglconfig.c

index 31d69a770808e2463f87908c117a6fd3335630c3..4d149603ae5e079596aa19108ed55af78ce02d43 100644 (file)
@@ -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 |