aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-12-08 01:02:56 +0100
committerdec05eba <dec05eba@protonmail.com>2021-12-08 01:03:15 +0100
commitb7e3507a82d93b470d89f5cdf838f480bd7e4ab4 (patch)
treeac689868c0b0e6caa8a13038e2dd7f9b02e2ef50 /tests
parent1739930d6f4b16eb5f3118412cddd20277ac5639 (diff)
Vertex translation, fix vertex texture use
Diffstat (limited to 'tests')
-rw-r--r--tests/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/main.c b/tests/main.c
index 359d92b..df68dd5 100644
--- a/tests/main.c
+++ b/tests/main.c
@@ -115,7 +115,7 @@ static void draw(mgl_window *window, void *userdata) {
}
};
- mgl_vertices_draw(context, vertices, 4, MGL_PRIMITIVE_QUADS);
+ mgl_vertices_draw(context, vertices, 4, MGL_PRIMITIVE_QUADS, (mgl_vec2f){ 0.0f, 0.0f });
mgl_window_set_view(window, &prev_view);
mgl_rectangle rect = {