[Xcb] [PATCH] dri2: Mark list length field in GetBuffers request so generated code doesn't ask for length field twice

Robert Ancell robert.ancell at canonical.com
Sat May 24 16:51:21 PDT 2014


Please use replacement patch sent after this - there were two
instances of this length field to fix

On Sat, May 24, 2014 at 4:47 PM, Robert Ancell
<robert.ancell at canonical.com> wrote:
> ---
>  src/dri2.xml | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/src/dri2.xml b/src/dri2.xml
> index 20d6649..f850b5a 100644
> --- a/src/dri2.xml
> +++ b/src/dri2.xml
> @@ -133,7 +133,9 @@ authorization from the authors.
>    <request name="GetBuffers" opcode="5">
>      <field type="DRAWABLE" name="drawable" />
>      <field type="CARD32" name="count" />
> -    <list type="CARD32" name="attachments" />
> +    <list type="CARD32" name="attachments">
> +      <fieldref>count</fieldref>
> +    </list>
>      <reply>
>        <pad bytes="1" />
>        <field type="CARD32" name="width" />
> --
> 2.0.0.rc0
>


More information about the Xcb mailing list