summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 ff3f3f87f09..09733b669fc 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[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);