diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2006-07-20 11:05:49 -0400 |
---|---|---|
committer | Eric Anholt <anholt@FreeBSD.org> | 2006-07-20 18:00:29 -0400 |
commit | 9f1cec83e0aef36c7d3482e62e8f01595f1fd076 (patch) | |
tree | e871fbdb25e413a12878692422de347cc753dd43 /src/i830_exa.c | |
parent | 4737955a62c39177e7a7ce7749a2f20e111afc68 (diff) |
The vertex data are all floats, so write the dest coords as floats.
Diffstat (limited to 'src/i830_exa.c')
-rw-r--r-- | src/i830_exa.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/i830_exa.c b/src/i830_exa.c index 40f68683..f7c79c29 100644 --- a/src/i830_exa.c +++ b/src/i830_exa.c @@ -506,8 +506,8 @@ IntelEXAComposite(PixmapPtr pDst, int srcX, int srcY, int maskX, int maskY, OUT_RING(PRIM3D_INLINE | PRIM3D_TRIFAN | (vertex_count-1)); - OUT_RING(dstX); - OUT_RING(dstY); + OUT_RING_F(dstX); + OUT_RING_F(dstY); OUT_RING_F(((srcX - draw_coords[0][0]) / scale_units[0][0])); OUT_RING_F(((srcY - draw_coords[0][1]) / scale_units[0][1])); if (pMask) { @@ -515,8 +515,8 @@ IntelEXAComposite(PixmapPtr pDst, int srcX, int srcY, int maskX, int maskY, OUT_RING_F(((maskY - draw_coords[1][1]) / scale_units[1][1])); } - OUT_RING(dstX); - OUT_RING((dstY+h)); + OUT_RING_F(dstX); + OUT_RING_F((dstY+h)); OUT_RING_F(((srcX - draw_coords[0][0]) / scale_units[0][0])); OUT_RING_F(((srcYend - draw_coords[0][1]) / scale_units[0][1])); if (pMask) { @@ -524,8 +524,8 @@ IntelEXAComposite(PixmapPtr pDst, int srcX, int srcY, int maskX, int maskY, OUT_RING_F(((maskYend - draw_coords[1][1]) / scale_units[1][1])); } - OUT_RING((dstX+w)); - OUT_RING((dstY+h)); + OUT_RING_F((dstX+w)); + OUT_RING_F((dstY+h)); OUT_RING_F(((srcXend - draw_coords[0][0]) / scale_units[0][0])); OUT_RING_F(((srcYend - draw_coords[0][1]) / scale_units[0][1])); if (pMask) { @@ -533,8 +533,8 @@ IntelEXAComposite(PixmapPtr pDst, int srcX, int srcY, int maskX, int maskY, OUT_RING_F(((maskYend - draw_coords[1][1]) / scale_units[1][1])); } - OUT_RING((dstX+w)); - OUT_RING((dstY)); + OUT_RING_F((dstX+w)); + OUT_RING_F((dstY)); OUT_RING_F(((srcXend - draw_coords[0][0]) / scale_units[0][0])); OUT_RING_F(((srcY - draw_coords[0][1]) / scale_units[0][1])); if (pMask) { |