aboutsummaryrefslogtreecommitdiffstats
path: root/src/common.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.cpp')
-rw-r--r--src/common.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/common.cpp b/src/common.cpp
index 05a5f35..916070c 100644
--- a/src/common.cpp
+++ b/src/common.cpp
@@ -57,13 +57,13 @@ void drawRect(vec2 ll, vec2 ur)
ll.x, ur.y, 1.0,
ll.x, ll.y, 1.0};
- GLfloat tex[] = {0.0, 0.0,
- 1.0, 0.0,
+ GLfloat tex[] = {0.0, 1.0,
1.0, 1.0,
+ 1.0, 0.0,
- 1.0, 1.0,
- 0.0, 1.0,
- 0.0, 0.0};
+ 1.0, 0.0,
+ 0.0, 0.0,
+ 0.0, 1.0};
glUniform1i(*tex_uni, 0);