diff options
author | Maarten Maathuis <madman2003@gmail.com> | 2008-12-19 23:12:37 +0100 |
---|---|---|
committer | Maarten Maathuis <madman2003@gmail.com> | 2008-12-19 23:12:37 +0100 |
commit | 2db7b66863ae6055c3ce13c88b36d620de8a4d75 (patch) | |
tree | 20f3c04cc0489425ecaf2b0820358122a60bdcbb /exa/exa_render.c | |
parent | aedd2f566df585db7a1614f302cc8d3feda54275 (diff) |
exa: a few cleanups
- Some warnings silenced.
- Some whitespace cleanup.
Diffstat (limited to 'exa/exa_render.c')
-rw-r--r-- | exa/exa_render.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/exa/exa_render.c b/exa/exa_render.c index 45cfff70a..63ea5c158 100644 --- a/exa/exa_render.c +++ b/exa/exa_render.c @@ -1054,15 +1054,15 @@ exaTrapezoids (CARD8 op, PicturePtr pSrc, PicturePtr pDst, BoxRec bounds; if (maskFormat) { + PicturePtr pPicture; + INT16 xDst, yDst; + INT16 xRel, yRel; + miTrapezoidBounds (ntrap, traps, &bounds); if (bounds.y1 >= bounds.y2 || bounds.x1 >= bounds.x2) return; - PicturePtr pPicture; - INT16 xDst, yDst; - INT16 xRel, yRel; - xDst = traps[0].left.p1.x >> 16; yDst = traps[0].left.p1.y >> 16; @@ -1118,15 +1118,15 @@ exaTriangles (CARD8 op, PicturePtr pSrc, PicturePtr pDst, BoxRec bounds; if (maskFormat) { + PicturePtr pPicture; + INT16 xDst, yDst; + INT16 xRel, yRel; + miTriangleBounds (ntri, tris, &bounds); if (bounds.y1 >= bounds.y2 || bounds.x1 >= bounds.x2) return; - PicturePtr pPicture; - INT16 xDst, yDst; - INT16 xRel, yRel; - xDst = tris[0].p1.x >> 16; yDst = tris[0].p1.y >> 16; |