From 166c760a86165330175023e07c4b2bd6891633c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Tue, 20 Mar 2007 09:16:02 +0100 Subject: Fix advertised minimum minor version of the DRI module. We don't automatically require bumped minor versions. --- src/r128_dri.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/r128_dri.c') diff --git a/src/r128_dri.c b/src/r128_dri.c index 21a13c1..fc91421 100644 --- a/src/r128_dri.c +++ b/src/r128_dri.c @@ -988,13 +988,13 @@ Bool R128DRIScreenInit(ScreenPtr pScreen) /* Check the DRI version */ DRIQueryVersion(&major, &minor, &patch); - if (major != DRIINFO_MAJOR_VERSION || minor < DRIINFO_MINOR_VERSION) { + if (major != DRIINFO_MAJOR_VERSION || minor < 0) { xf86DrvMsg(pScreen->myNum, X_ERROR, "[dri] R128DRIScreenInit failed because of a version mismatch.\n" "[dri] libdri version is %d.%d.%d but version %d.%d.x is needed.\n" "[dri] Disabling the DRI.\n", major, minor, patch, - DRIINFO_MAJOR_VERSION, DRIINFO_MINOR_VERSION); + DRIINFO_MAJOR_VERSION, 0); return FALSE; } -- cgit v1.2.3