diff options
author | brianp <brianp> | 2000-06-13 18:28:23 +0000 |
---|---|---|
committer | brianp <brianp> | 2000-06-13 18:28:23 +0000 |
commit | f08d2f64803f93453890d7990f9021f4e61621af (patch) | |
tree | 144c2babc5b10aa7891d61e33b8d6d7d3d4ba673 | |
parent | 1bba49271b6e41cc0cf88ad2b562c27d55424d7a (diff) |
fix for pixmap corruption (Jeff Hartmann)pre401-20000613-freeze
-rw-r--r-- | xc/programs/Xserver/hw/xfree86/drivers/mga/mga_dri.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xc/programs/Xserver/hw/xfree86/drivers/mga/mga_dri.c b/xc/programs/Xserver/hw/xfree86/drivers/mga/mga_dri.c index 7f91b6630..12c101dee 100644 --- a/xc/programs/Xserver/hw/xfree86/drivers/mga/mga_dri.c +++ b/xc/programs/Xserver/hw/xfree86/drivers/mga/mga_dri.c @@ -728,7 +728,8 @@ void mgaGetQuiescence( ScrnInfoPtr pScrn ) OUTREG(MGAREG_PLNWT, pMga->PlaneMask); OUTREG(MGAREG_BCOL, pMga->BgColor); OUTREG(MGAREG_FCOL, pMga->FgColor); - OUTREG(MGAREG_SRCORG, pMga->SrcOrg); + pMga->SrcOrg = 0; + OUTREG(MGAREG_SRCORG, 0); OUTREG(MGAREG_DSTORG, pMga->DstOrg); OUTREG(MGAREG_OPMODE, MGAOPM_DMA_BLIT); OUTREG(MGAREG_CXBNDRY, 0xFFFF0000); /* (maxX << 16) | minX */ |