From 0e7d3152b50ec5a1fc8938b2863e3a7224020ec1 Mon Sep 17 00:00:00 2001 From: Stanislav Vorobiov Date: Mon, 12 Aug 2013 18:45:48 +0400 Subject: [PATCH] YaGL: Support EGL_ALPHA_MASK_SIZE glmark2 requires it --- hw/yagl_apis/egl/yagl_egl_config.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/yagl_apis/egl/yagl_egl_config.c b/hw/yagl_apis/egl/yagl_egl_config.c index 86cf633..70fd711 100644 --- a/hw/yagl_apis/egl/yagl_egl_config.c +++ b/hw/yagl_apis/egl/yagl_egl_config.c @@ -336,6 +336,9 @@ bool yagl_egl_config_get_attrib(const struct yagl_egl_config *cfg, case EGL_ALPHA_SIZE: *value = cfg->native.alpha_size; break; + case EGL_ALPHA_MASK_SIZE: + *value = 0; + break; case EGL_BIND_TO_TEXTURE_RGB: *value = cfg->native.bind_to_texture_rgb; break; -- 2.7.4