projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9f362a
)
Make colors match the fp tests
author
Keith Whitwell
<keith@tungstengraphics.com>
Tue, 1 Nov 2005 12:20:13 +0000
(12:20 +0000)
committer
Keith Whitwell
<keith@tungstengraphics.com>
Tue, 1 Nov 2005 12:20:13 +0000
(12:20 +0000)
progs/vp/vp-tris.c
patch
|
blob
|
history
diff --git
a/progs/vp/vp-tris.c
b/progs/vp/vp-tris.c
index ff3f3f87f09d6725118e95541b2b44a598c2c080..09733b669fc7c511122aa3489f7d05cb7d97d1da 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[1].v.color, 0,1,0);
- ASSIGN_3V(v[1].v.pos, 0.9, 0.9, 0.0);
ASSIGN_3V(v[2].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.pos, -0.9, 0, 0.0);
subdiv(&v[0], &v[1], &v[2], nr_steps);