gallium: explict float casts
authorKeith Whitwell <keith@tungstengraphics.com>
Wed, 19 Mar 2008 17:35:42 +0000 (17:35 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Wed, 19 Mar 2008 17:35:42 +0000 (17:35 +0000)
src/gallium/auxiliary/util/u_blit.c

index 123304fe68e2b81cfcfde808759f3d9357be1da6..d05dae3af8f16f96c5c0367dd85aacc85ca2e81d 100644 (file)
@@ -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);