summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-01-24 19:40:14 +0900
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-01-26 10:33:02 +0900
commitc3e4e9260d7527bb0369650b861cba43834f7106 (patch)
tree9508edf7b0d7037b13d0201b518d94dff54991bf
parent2bca9f6457d8f766ef12891657fc2d10ea72ef54 (diff)
gallium: Fix MSVC float/double conversion warning.
-rw-r--r--src/mesa/pipe/draw/draw_wide_prims.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/draw/draw_wide_prims.c b/src/mesa/pipe/draw/draw_wide_prims.c
index 26f5d10dc0..9759e7e2e8 100644
--- a/src/mesa/pipe/draw/draw_wide_prims.c
+++ b/src/mesa/pipe/draw/draw_wide_prims.c
@@ -217,7 +217,7 @@ static void wide_point( struct draw_stage *stage,
/* point size is either per-vertex or fixed size */
if (wide->psize_slot >= 0) {
- half_size = 0.5 * header->v[0]->data[wide->psize_slot][0];
+ half_size = 0.5f * header->v[0]->data[wide->psize_slot][0];
}
else {
half_size = wide->half_point_size;