summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2005-11-01 12:22:48 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2005-11-01 12:22:48 +0000
commitda70bc6baa3801be7d0210adcbac500d50a2204c (patch)
tree804aeb405d23934227d084d74171365f234df004 /progs
parenta605d9c3de0e3ed91156f34cc713d4fc1ee0e587 (diff)
Make colors match the fp tests (really)
Diffstat (limited to 'progs')
-rw-r--r--progs/vp/vp-tris.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/vp/vp-tris.c b/progs/vp/vp-tris.c
index 09733b669f..04f5e0e152 100644
--- 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);