summaryrefslogtreecommitdiff
path: root/src/mga_dri.c
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2006-12-01 19:10:55 +0100
committerTilman Sauerbeck <tilman@code-monkey.de>2006-12-01 19:10:55 +0100
commit10b2202c254b71b8d0da987a225d5e78a030bca4 (patch)
tree8e3fec3b4942bfdd785197e315ae34259fd01e24 /src/mga_dri.c
parent00efdc4959a0b240eb2dc7a3188c0ef64b2ad74a (diff)
Use the XORG_RELEASE_VERSION autoconf macro.
Diffstat (limited to 'src/mga_dri.c')
-rw-r--r--src/mga_dri.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mga_dri.c b/src/mga_dri.c
index 103279d..231dda9 100644
--- a/src/mga_dri.c
+++ b/src/mga_dri.c
@@ -987,9 +987,9 @@ Bool MGADRIScreenInit( ScreenPtr pScreen )
((pciConfigPtr)pMga->PciInfo->thisCard)->devnum,
((pciConfigPtr)pMga->PciInfo->thisCard)->funcnum );
}
- pDRIInfo->ddxDriverMajorVersion = MGA_MAJOR_VERSION;
- pDRIInfo->ddxDriverMinorVersion = MGA_MINOR_VERSION;
- pDRIInfo->ddxDriverPatchVersion = MGA_PATCHLEVEL;
+ pDRIInfo->ddxDriverMajorVersion = PACKAGE_VERSION_MAJOR;
+ pDRIInfo->ddxDriverMinorVersion = PACKAGE_VERSION_MINOR;
+ pDRIInfo->ddxDriverPatchVersion = PACKAGE_VERSION_PATCHLEVEL;
pDRIInfo->frameBufferPhysicalAddress = (void *) pMga->FbAddress;
pDRIInfo->frameBufferSize = pMga->FbMapSize;
pDRIInfo->frameBufferStride = pScrn->displayWidth*(pScrn->bitsPerPixel/8);