diff options
author | Keith Packard <keithp@keithp.com> | 2001-09-14 19:24:11 +0000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2001-09-14 19:24:11 +0000 |
commit | fbaf3ceae0519ebdfee4b6a73b1bc0000f141cf2 (patch) | |
tree | 54191b00c616d4aa809afff3de2d6210c5fb69ff | |
parent | 216090d1aedb23c691a75da25b14d8543b932e1c (diff) |
hw/kdrive/trident: solid fill checks busted for planemasking
-rw-r--r-- | hw/kdrive/trident/tridentdraw.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/hw/kdrive/trident/tridentdraw.c b/hw/kdrive/trident/tridentdraw.c index 78835ea93..9cfabda51 100644 --- a/hw/kdrive/trident/tridentdraw.c +++ b/hw/kdrive/trident/tridentdraw.c @@ -21,7 +21,7 @@ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR * PERFORMANCE OF THIS SOFTWARE. */ -/* $XFree86: xc/programs/Xserver/hw/kdrive/trident/tridentdraw.c,v 1.9 2001/05/30 15:36:25 keithp Exp $ */ +/* $XFree86: xc/programs/Xserver/hw/kdrive/trident/tridentdraw.c,v 1.10 2001/06/03 18:48:19 keithp Exp $ */ #include "trident.h" #include "tridentdraw.h" @@ -80,9 +80,8 @@ tridentPrepareSolid (DrawablePtr pDrawable, Pixel pm, Pixel fg) { - FbBits depthMask; + FbBits depthMask = FbFullMask(pDrawable->depth); - depthMask = FbFullMask(pDrawable->depth); if ((pm & depthMask) != depthMask) return FALSE; else @@ -117,7 +116,7 @@ tridentPrepareCopy (DrawablePtr pSrcDrawable, int alu, Pixel pm) { - FbBits depthMask; + FbBits depthMask = FbFullMask(pDstDrawable->depth); if ((pm & depthMask) == depthMask) { |