diff options
author | Alan Hourihane <alanh@tungstengraphics.com> | 2005-08-30 20:37:30 +0000 |
---|---|---|
committer | Alan Hourihane <alanh@tungstengraphics.com> | 2005-08-30 20:37:30 +0000 |
commit | f98b9853e10abf60cf90c5b9d3f76e734b5fc8f8 (patch) | |
tree | 89d3a3f0c580ebad2090a75b66a70fc058c76b9c /src/mesa/drivers/dri/unichrome | |
parent | b41c025420baed83e09b866c4bad11790b95d704 (diff) |
drmUnmap correct size
Diffstat (limited to 'src/mesa/drivers/dri/unichrome')
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_screen.c b/src/mesa/drivers/dri/unichrome/via_screen.c index 4ca4a071a5..de2f5ea07d 100644 --- a/src/mesa/drivers/dri/unichrome/via_screen.c +++ b/src/mesa/drivers/dri/unichrome/via_screen.c @@ -163,7 +163,7 @@ viaInitDriver(__DRIscreenPrivate *sPriv) gDRIPriv->agp.handle, gDRIPriv->agp.size, (drmAddress *)&viaScreen->agpLinearStart) != 0) { - drmUnmap(viaScreen->reg, gDRIPriv->agp.size); + drmUnmap(viaScreen->reg, gDRIPriv->regs.size); FREE(viaScreen); sPriv->private = NULL; __driUtilMessage("viaInitDriver: drmMap agp failed"); |