From 9d6ca56d5ac15634958f773e991d41a977f909bf Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sun, 17 Dec 2017 09:23:05 +0000 Subject: Making simplegame and travis --- tests/simplegame.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/simplegame.cpp') diff --git a/tests/simplegame.cpp b/tests/simplegame.cpp index 2968f4ba..99796f08 100644 --- a/tests/simplegame.cpp +++ b/tests/simplegame.cpp @@ -49,8 +49,7 @@ int main() GLint texture_location = program.getUniformLocation("texture_sampler"); glUniform1i(texture_location, 0); - sp.draw(std::vector({0, 0, 64, 64}), - std::vector({0, 0, 1, 1}), fountain.id, Colour(), 0); + sp.draw({0.f, 0.f, 64.f, 64.f}, {0, 0, 1, 1}, fountain.id, Colour(), 0); sp.render(); glBindTexture(GL_TEXTURE_2D, 0); -- cgit