summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-01-23 08:24:08 -0700
committerBrian <[email protected]>2008-01-23 08:24:08 -0700
commit46a787ad979e16b827caad5a123b41f8f59327f1 (patch)
tree6b2ffe9e50f57fb469d0f5975a4e7595cd749fa8 /src/mesa
parent286380020b146d600ac86d519ddfbf765a5965b2 (diff)
gallium: multiply vertex point size by 0.5
Diffstat (limited to 'src/mesa')
-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 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;