[PATCH] DRI2: Report the correct extension minor version
Peter Hutterer
peter.hutterer at who-t.net
Tue Oct 13 16:49:18 PDT 2009
On Tue, Oct 13, 2009 at 04:26:26PM -0700, Aaron Plattner wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Signed-off-by: Aaron Plattner <aplattner at nvidia.com>
> - ---
> hw/xfree86/dri2/dri2ext.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/hw/xfree86/dri2/dri2ext.c b/hw/xfree86/dri2/dri2ext.c
> index 6c14578..dc07b47 100644
> - --- a/hw/xfree86/dri2/dri2ext.c
> +++ b/hw/xfree86/dri2/dri2ext.c
> @@ -81,7 +81,7 @@ ProcDRI2QueryVersion(ClientPtr client)
> rep.length = 0;
> rep.sequenceNumber = client->sequence;
> rep.majorVersion = SERVER_DRI2_MAJOR_VERSION;
> - - rep.minorVersion = SERVER_DRI2_MAJOR_VERSION;
> + rep.minorVersion = SERVER_DRI2_MINOR_VERSION;
>
> if (client->swapped) {
> swaps(&rep.sequenceNumber, n);
> - --
> 1.6.0.4
Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>
More information about the xorg-devel
mailing list