YaGL: Support EGL_ALPHA_MASK_SIZE
authorStanislav Vorobiov <s.vorobiov@samsung.com>
Mon, 12 Aug 2013 14:45:48 +0000 (18:45 +0400)
committerStanislav Vorobiov <s.vorobiov@samsung.com>
Mon, 12 Aug 2013 14:45:48 +0000 (18:45 +0400)
glmark2 requires it

hw/yagl_apis/egl/yagl_egl_config.c

index 86cf633..70fd711 100644 (file)
@@ -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;