diff options
author | Alan Hourihane <[email protected]> | 2005-08-31 15:11:21 +0000 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2005-08-31 15:11:21 +0000 |
commit | cbafed8716d0be11db86f0ee4690c1e16f47c35d (patch) | |
tree | e9b2ee4986ed36a61ec0e2b444937d51eec028ad /src/mesa/drivers/dri/unichrome | |
parent | 3d4d6d29e2209a2ca701bff2c781078a82c6b229 (diff) |
reverse a bogus patch
Diffstat (limited to 'src/mesa/drivers/dri/unichrome')
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_screen.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_screen.c b/src/mesa/drivers/dri/unichrome/via_screen.c index de2f5ea07d9..1b2e22ef299 100644 --- a/src/mesa/drivers/dri/unichrome/via_screen.c +++ b/src/mesa/drivers/dri/unichrome/via_screen.c @@ -100,7 +100,6 @@ viaInitDriver(__DRIscreenPrivate *sPriv) PFNGLXSCRENABLEEXTENSIONPROC glx_enable_extension = (PFNGLXSCRENABLEEXTENSIONPROC) (*dri_interface->getProcAddress("glxEnableExtension")); void * const psc = sPriv->psc->screenConfigs; - drmAddress map; if (sPriv->devPrivSize != sizeof(VIADRIRec)) { fprintf(stderr,"\nERROR! sizeof(VIADRIRec) does not match passed size from device driver\n"); @@ -151,7 +150,7 @@ viaInitDriver(__DRIscreenPrivate *sPriv) if (drmMap(sPriv->fd, gDRIPriv->regs.handle, gDRIPriv->regs.size, - &map) != 0) { + &viaScreen->reg) != 0) { FREE(viaScreen); sPriv->private = NULL; __driUtilMessage("viaInitDriver: drmMap regs failed"); |