aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-12-17 09:23:05 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-12-17 09:23:05 +0000
commit9d6ca56d5ac15634958f773e991d41a977f909bf (patch)
treecc10786c091a7f185feae2c3f536981f222e9117 /tests
parente6215e764bc149497ab5772d9ea136809d898993 (diff)
downloadYAGE-9d6ca56d5ac15634958f773e991d41a977f909bf.tar.gz
YAGE-9d6ca56d5ac15634958f773e991d41a977f909bf.zip
Making simplegame and travis
Diffstat (limited to 'tests')
-rw-r--r--tests/simplegame.cpp3
1 files changed, 1 insertions, 2 deletions
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<float>({0, 0, 64, 64}),
- std::vector<float>({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);