diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2008-08-03 19:29:34 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2008-08-04 15:09:19 -0700 |
commit | 2e0416cf8970ab4e3065a0109129b2121982c031 (patch) | |
tree | 07e00707bce1e32dac7bc61ee338a05b8532e419 /src/g80_exa.c | |
parent | 9b727b8384d51e3657bb50efa090adde91c17a73 (diff) |
G80: Fix some ROP bugs.
Diffstat (limited to 'src/g80_exa.c')
-rw-r--r-- | src/g80_exa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/g80_exa.c b/src/g80_exa.c index 96dbc21..a327c51 100644 --- a/src/g80_exa.c +++ b/src/g80_exa.c @@ -109,7 +109,7 @@ prepareSolid(PixmapPtr pPixmap, if(pPixmap->drawable.depth > 24) return FALSE; if(!setDst(pNv, pPixmap)) return FALSE; G80DmaStart(pNv, 0x2ac, 1); - G80DmaNext (pNv, 1); + G80DmaNext (pNv, 4); G80SetRopSolid(pNv, alu, planemask); G80DmaStart(pNv, 0x580, 1); G80DmaNext (pNv, 4); @@ -160,7 +160,7 @@ prepareCopy(PixmapPtr pSrcPixmap, if(alu == GXcopy && planemask == ~0) { G80DmaNext (pNv, 3); } else { - G80DmaNext (pNv, 1); + G80DmaNext (pNv, 4); G80SetRopSolid(pNv, alu, planemask); } pNv->DMAKickoffCallback = G80DMAKickoffCallback; |