gallium: multiply vertex point size by 0.5
authorBrian <brian.paul@tungstengraphics.com>
Wed, 23 Jan 2008 15:24:08 +0000 (08:24 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Wed, 23 Jan 2008 15:24:08 +0000 (08:24 -0700)
src/mesa/pipe/draw/draw_wide_prims.c

index a56c9b88939f1ece7b31e66ee5975d02b097dcda..f71a38efbaa0da578a3d4c45e7185bb1fa8f7f23 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 = header->v[0]->data[wide->psize_slot][0];
+      half_size = 0.5 * header->v[0]->data[wide->psize_slot][0];
    }
    else {
       half_size = wide->half_point_size;