summaryrefslogtreecommitdiff
path: root/hw/xfree86/dri/dri.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/dri/dri.c')
-rw-r--r--hw/xfree86/dri/dri.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/hw/xfree86/dri/dri.c b/hw/xfree86/dri/dri.c
index c870e9a82..898a7290f 100644
--- a/hw/xfree86/dri/dri.c
+++ b/hw/xfree86/dri/dri.c
@@ -1958,14 +1958,15 @@ DRIGetWrappedFuncs(ScreenPtr pScreen)
return &(DRI_SCREEN_PRIV(pScreen)->wrap);
}
+/* note that this returns the library version, not the protocol version */
void
DRIQueryVersion(int *majorVersion,
int *minorVersion,
int *patchVersion)
{
- *majorVersion = XF86DRI_MAJOR_VERSION;
- *minorVersion = XF86DRI_MINOR_VERSION;
- *patchVersion = XF86DRI_PATCH_VERSION;
+ *majorVersion = DRIINFO_MAJOR_VERSION;
+ *minorVersion = DRIINFO_MINOR_VERSION;
+ *patchVersion = DRIINFO_PATCH_VERSION;
}
static void