gallium: Fix MSVC float/double conversion warning.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Thu, 24 Jan 2008 10:40:14 +0000 (19:40 +0900)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Sat, 26 Jan 2008 01:33:02 +0000 (10:33 +0900)
src/mesa/pipe/draw/draw_wide_prims.c

index 26f5d10dc0322739a22bf983d0bdf08592377ab8..9759e7e2e822485deb77440bd5a4d52dfedb8a7b 100644 (file)
@@ -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;