mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 06:40:11 +01:00
gallium: explict float casts
This commit is contained in:
parent
7d95efde0a
commit
b4f03d0c98
1 changed files with 5 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue