diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-12-17 09:23:05 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-12-17 09:23:05 +0000 |
commit | 9d6ca56d5ac15634958f773e991d41a977f909bf (patch) | |
tree | cc10786c091a7f185feae2c3f536981f222e9117 /tests | |
parent | e6215e764bc149497ab5772d9ea136809d898993 (diff) | |
download | YAGE-9d6ca56d5ac15634958f773e991d41a977f909bf.tar.gz YAGE-9d6ca56d5ac15634958f773e991d41a977f909bf.zip |
Making simplegame and travis
Diffstat (limited to 'tests')
-rw-r--r-- | tests/simplegame.cpp | 3 |
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); |