diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2007-03-20 09:16:02 +0100 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2007-03-20 09:16:02 +0100 |
commit | 166c760a86165330175023e07c4b2bd6891633c5 (patch) | |
tree | 6cd40e5ab0b303630c81260dc629da9112e0f2d0 /src/radeon_dri.c | |
parent | 1bdd376dbd57de8925244f0808f974d6d8cff39d (diff) |
Fix advertised minimum minor version of the DRI module.
We don't automatically require bumped minor versions.
Diffstat (limited to 'src/radeon_dri.c')
-rw-r--r-- | src/radeon_dri.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_dri.c b/src/radeon_dri.c index 7ebf958..b09a8cf 100644 --- a/src/radeon_dri.c +++ b/src/radeon_dri.c @@ -1244,7 +1244,7 @@ Bool RADEONDRIGetVersion(ScrnInfoPtr pScrn) /* 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(pScrn->scrnIndex, X_ERROR, "[dri] RADEONDRIGetVersion failed because of a version " "mismatch.\n" @@ -1252,7 +1252,7 @@ Bool RADEONDRIGetVersion(ScrnInfoPtr pScrn) "needed.\n" "[dri] Disabling DRI.\n", major, minor, patch, - DRIINFO_MAJOR_VERSION, DRIINFO_MINOR_VERSION); + DRIINFO_MAJOR_VERSION, 0); return FALSE; } |