Make colors match the fp tests (really)
authorKeith Whitwell <keith@tungstengraphics.com>
Tue, 1 Nov 2005 12:22:48 +0000 (12:22 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Tue, 1 Nov 2005 12:22:48 +0000 (12:22 +0000)
progs/vp/vp-tris.c

index 09733b6..04f5e0e 100644 (file)
@@ -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);