summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/hw/xfree86/drivers/nv/nv_dga.c
diff options
context:
space:
mode:
Diffstat (limited to 'xc/programs/Xserver/hw/xfree86/drivers/nv/nv_dga.c')
-rw-r--r--xc/programs/Xserver/hw/xfree86/drivers/nv/nv_dga.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xc/programs/Xserver/hw/xfree86/drivers/nv/nv_dga.c b/xc/programs/Xserver/hw/xfree86/drivers/nv/nv_dga.c
index 624a86f99..714467ad6 100644
--- a/xc/programs/Xserver/hw/xfree86/drivers/nv/nv_dga.c
+++ b/xc/programs/Xserver/hw/xfree86/drivers/nv/nv_dga.c
@@ -1,4 +1,4 @@
-/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/nv/nv_dga.c,v 1.10 2001/01/22 21:32:36 dawes Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/nv/nv_dga.c,v 1.11 2002/01/25 21:56:06 tsi Exp $ */
#include "nv_local.h"
#include "nv_include.h"
@@ -234,8 +234,8 @@ NV_SetViewport(
NVAdjustFrame(pScrn->pScreen->myNum, x, y, flags);
- while(pNv->riva.PCIO[0x3da] & 0x08);
- while(!(pNv->riva.PCIO[0x3da] & 0x08));
+ while(VGA_RD08(pNv->riva.PCIO, 0x3da) & 0x08);
+ while(!(VGA_RD08(pNv->riva.PCIO, 0x3da) & 0x08));
pNv->DGAViewportStatus = 0;
}