diff options
author | Michal Krol <[email protected]> | 2008-12-11 13:54:05 +0100 |
---|---|---|
committer | Michal Krol <[email protected]> | 2008-12-11 13:54:05 +0100 |
commit | 401a18a0c64bf8995c2c888b155a711b6187eba5 (patch) | |
tree | fa85434df71df22ecaca2fa879cc0ccdd6e9243e /src/gallium/auxiliary/draw | |
parent | d0bc5293d6e1e9c34fa822b7c2928932ed22462c (diff) |
draw: Silencium compiler warnings on Windows.
Diffstat (limited to 'src/gallium/auxiliary/draw')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pipe_offset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pipe_offset.c b/src/gallium/auxiliary/draw/draw_pipe_offset.c index 8ddc4ee6178..62c31532d01 100644 --- a/src/gallium/auxiliary/draw/draw_pipe_offset.c +++ b/src/gallium/auxiliary/draw/draw_pipe_offset.c @@ -123,7 +123,7 @@ static void offset_first_tri( struct draw_stage *stage, { struct offset_stage *offset = offset_stage(stage); - offset->units = stage->draw->rasterizer->offset_units * stage->draw->mrd; + offset->units = (float) (stage->draw->rasterizer->offset_units * stage->draw->mrd); offset->scale = stage->draw->rasterizer->offset_scale; stage->tri = offset_tri; |