[waffle] [PATCH] gl_basic: request alpha planes
Alpha planes are written and read, so we should ask for them in the config. Signed-off-by: Frank Henigman --- examples/gl_basic.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/gl_basic.c b/examples/gl_basic.c index ab9c78c..e59dc11 100644 --- a/examples/gl_basic.c +++ b/examples/gl_basic.c @@ -639,6 +639,8 @@ main(int argc, char **argv) config_attrib_list[i++] = 8; config_attrib_list[i++] = WAFFLE_BLUE_SIZE; config_attrib_list[i++] = 8; +config_attrib_list[i++] = WAFFLE_ALPHA_SIZE; +config_attrib_list[i++] = 8; config_attrib_list[i++] = WAFFLE_DOUBLE_BUFFERED; config_attrib_list[i++] = true; config_attrib_list[i++] = 0; -- 2.2.0.rc0.207.ga3a616c ___ waffle mailing list waffle@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/waffle
Re: [waffle] [PATCH] gl_basic: request alpha planes
Thanks. I'll merge this to stable branches and master. Quoting Frank Henigman (2015-03-23 18:34:44) > Alpha planes are written and read, so we should ask for them in the config. > > Signed-off-by: Frank Henigman > --- > examples/gl_basic.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/examples/gl_basic.c b/examples/gl_basic.c > index ab9c78c..e59dc11 100644 > --- a/examples/gl_basic.c > +++ b/examples/gl_basic.c > @@ -639,6 +639,8 @@ main(int argc, char **argv) > config_attrib_list[i++] = 8; > config_attrib_list[i++] = WAFFLE_BLUE_SIZE; > config_attrib_list[i++] = 8; > +config_attrib_list[i++] = WAFFLE_ALPHA_SIZE; > +config_attrib_list[i++] = 8; > config_attrib_list[i++] = WAFFLE_DOUBLE_BUFFERED; > config_attrib_list[i++] = true; > config_attrib_list[i++] = 0; > -- > 2.2.0.rc0.207.ga3a616c > > ___ > waffle mailing list > waffle@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/waffle ___ waffle mailing list waffle@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/waffle