summaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-01-04 12:56:04 +0800
committerChia-I Wu <[email protected]>2010-01-12 10:55:35 +0800
commit39790cab1349fbf69b61711c46eeef7ded6ae13a (patch)
treee042fea00b2378993a0ee4a15e55c0858d8f3ac3 /src/egl
parent472a6019665094c18fc47624b343ddc8c90f102c (diff)
egl: EGL_SCREEN_BIT_MESA is a valid bit.
Update _eglValidateConfig so that it passes the test. Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/main/eglconfig.c1
1 files changed, 1 insertions, 0 deletions
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 |