summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-10-23 10:04:57 +0900
committerPeter Hutterer <peter.hutterer@who-t.net>2009-10-23 13:24:50 +1000
commitda6c66dbc5d7b4760b5c3901b32fc5100ede4e0c (patch)
treed21dbc076568aea104a2bb4f77faaedd28ff5509
parentfb5db61be2cecbd364b2a4566899573af099c50c (diff)
DRI2: Report the correct extension minor version
Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Keith Packard <keithp@keithp.com> (cherry picked from commit 9a2f6135bfb0f12ec28f304c97917d2f7c64db05)
-rw-r--r--hw/xfree86/dri2/dri2ext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/dri2/dri2ext.c b/hw/xfree86/dri2/dri2ext.c
index 6c14578d7..dc07b47af 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);