From: Brian Date: Wed, 23 Jan 2008 15:24:08 +0000 (-0700) Subject: gallium: multiply vertex point size by 0.5 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=46a787ad979e16b827caad5a123b41f8f59327f1;p=mesa.git gallium: multiply vertex point size by 0.5 --- diff --git a/src/mesa/pipe/draw/draw_wide_prims.c b/src/mesa/pipe/draw/draw_wide_prims.c index a56c9b88939..f71a38efbaa 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 = 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;