projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2863800
)
gallium: multiply vertex point size by 0.5
author
Brian
<brian.paul@tungstengraphics.com>
Wed, 23 Jan 2008 15:24:08 +0000
(08:24 -0700)
committer
Brian
<brian.paul@tungstengraphics.com>
Wed, 23 Jan 2008 15:24:08 +0000
(08:24 -0700)
src/mesa/pipe/draw/draw_wide_prims.c
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/draw/draw_wide_prims.c
b/src/mesa/pipe/draw/draw_wide_prims.c
index a56c9b88939f1ece7b31e66ee5975d02b097dcda..f71a38efbaa0da578a3d4c45e7185bb1fa8f7f23 100644
(file)
--- 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;