diff options
author | Eric Anholt <eric@anholt.net> | 2007-01-30 14:19:05 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2007-01-30 16:25:27 -0800 |
commit | 6a628ae12b0568d656059891c5bca4415d8a735f (patch) | |
tree | 37c70d61f5a035f218121bb33746a2a18b7ecf28 /src/i830_exa.c | |
parent | c8581254cb811f76aa6eae49d74489b543b3eb05 (diff) |
Simplify EXA acceleration transform handling.
Diffstat (limited to 'src/i830_exa.c')
-rw-r--r-- | src/i830_exa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i830_exa.c b/src/i830_exa.c index 3fd5e4ae..b976f548 100644 --- a/src/i830_exa.c +++ b/src/i830_exa.c @@ -308,7 +308,7 @@ IntelEXAComposite(PixmapPtr pDst, int srcX, int srcY, int maskX, int maskY, srcYend = srcY + h; maskXend = maskX + w; maskYend = maskY + h; - if (pI830->is_transform[0]) { + if (pI830->transform[0] != NULL) { v.vector[0] = IntToxFixed(srcX); v.vector[1] = IntToxFixed(srcY); v.vector[2] = xFixed1; @@ -322,7 +322,7 @@ IntelEXAComposite(PixmapPtr pDst, int srcX, int srcY, int maskX, int maskY, srcXend = xFixedToInt(v.vector[0]); srcYend = xFixedToInt(v.vector[1]); } - if (pI830->is_transform[1]) { + if (pI830->transform[1] != NULL) { v.vector[0] = IntToxFixed(maskX); v.vector[1] = IntToxFixed(maskY); v.vector[2] = xFixed1; |