summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-03-19 17:35:42 +0000
committerKeith Whitwell <[email protected]>2008-03-19 17:35:42 +0000
commitb4f03d0c98674c83d06edfa767a7898eca5d4ef8 (patch)
treeb8d19768fc5751f35f229f80e67d8efe383e0407 /src/gallium/auxiliary
parent7d95efde0a0e13e13c59444703bc47eb13926385 (diff)
gallium: explict float casts
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/util/u_blit.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_blit.c b/src/gallium/auxiliary/util/u_blit.c
index 123304fe68e..d05dae3af8f 100644
--- a/src/gallium/auxiliary/util/u_blit.c
+++ b/src/gallium/auxiliary/util/u_blit.c
@@ -254,7 +254,11 @@ util_blit_pixels(struct blit_state *ctx,
cso_set_framebuffer(ctx->cso, &fb);
/* draw quad */
- util_draw_texquad(pipe, dstX0, dstY0, dstX1, dstY1, z);
+ util_draw_texquad(pipe,
+ (float)dstX0,
+ (float)dstY0,
+ (float)dstX1,
+ (float)dstY1, z);
/* restore state we changed */
cso_restore_blend(ctx->cso);