Mesa (master): egl: EGL_SCREEN_BIT_MESA is a valid bit.
Chia-I Wu
olv at kemper.freedesktop.org
Tue Jan 12 03:21:26 UTC 2010
Module: Mesa
Branch: master
Commit: 39790cab1349fbf69b61711c46eeef7ded6ae13a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=39790cab1349fbf69b61711c46eeef7ded6ae13a
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Mon Jan 4 12:56:04 2010 +0800
egl: EGL_SCREEN_BIT_MESA is a valid bit.
Update _eglValidateConfig so that it passes the test.
Signed-off-by: Chia-I Wu <olvaffe at gmail.com>
---
src/egl/main/eglconfig.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/egl/main/eglconfig.c b/src/egl/main/eglconfig.c
index 31d69a7..4d14960 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 |
More information about the mesa-commit
mailing list