From efa0168a643dabd81183e6478a2f2ee34576f59c Mon Sep 17 00:00:00 2001
From: matthew <matthew@owens.tech>
Date: Sat, 18 Aug 2018 22:11:25 +0100
Subject: [PATCH] changed colors so that red is on top of rect, blue is on
 bottom

---
 gl/main.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gl/main.c b/gl/main.c
index ea5e7dd..611307e 100644
--- a/gl/main.c
+++ b/gl/main.c
@@ -15,10 +15,10 @@ static Uint32 itime;
 
 static float vertices[] = {
 	// positions		// colors
-	0.5f, 0.5f, 0.0f,	1.0f, 0.0f, 0.5f,	// top right
-	0.5f, -0.5f, 0.0f,	0.0f, 1.0f, 0.0f,	// bottom right
-	-0.5f, -0.5f, 0.0f,	0.5f, 0.0f, 0.5f,	// bottom left
-	-0.5f, 0.5f, 0.0f,	0.5f, 0.0f, 1.0f	// top left
+	0.5f, 0.5f, 0.0f,	1.0f, 0.0f, 0.0f,	// top right
+	0.5f, -0.5f, 0.0f,	0.0f, 0.0f, 1.0f,	// bottom right
+	-0.5f, -0.5f, 0.0f,	0.0f, 0.0f, 1.0f,	// bottom left
+	-0.5f, 0.5f, 0.0f,	1.0f, 0.0f, 0.0f	// top left
 };
 
 static unsigned int indices[] = {
-- 
2.20.1