From b7e3507a82d93b470d89f5cdf838f480bd7e4ab4 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 8 Dec 2021 01:02:56 +0100 Subject: Vertex translation, fix vertex texture use --- tests/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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 = { -- cgit v1.2.3