projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a605d9c
)
Make colors match the fp tests (really)
author
Keith Whitwell
<keith@tungstengraphics.com>
Tue, 1 Nov 2005 12:22:48 +0000
(12:22 +0000)
committer
Keith Whitwell
<keith@tungstengraphics.com>
Tue, 1 Nov 2005 12:22:48 +0000
(12:22 +0000)
progs/vp/vp-tris.c
patch
|
blob
|
history
diff --git
a/progs/vp/vp-tris.c
b/progs/vp/vp-tris.c
index 09733b669fc7c511122aa3489f7d05cb7d97d1da..04f5e0e1525901686449e0f0f2efc8776d2e494c 100644
(file)
--- a/
progs/vp/vp-tris.c
+++ b/
progs/vp/vp-tris.c
@@
-159,9
+159,9
@@
static void Display( void )
ASSIGN_3V(v[0].v.color, 0,0,1);
ASSIGN_3V(v[0].v.pos, 0.9, -0.9, 0.0);
- ASSIGN_3V(v[
2
].v.color, 1,0,0);
+ ASSIGN_3V(v[
1
].v.color, 1,0,0);
ASSIGN_3V(v[1].v.pos, 0.9, 0.9, 0.0);
- ASSIGN_3V(v[
1
].v.color, 0,1,0);
+ ASSIGN_3V(v[
2
].v.color, 0,1,0);
ASSIGN_3V(v[2].v.pos, -0.9, 0, 0.0);
subdiv(&v[0], &v[1], &v[2], nr_steps);