aboutsummaryrefslogtreecommitdiffstats
path: root/tests/simplegame.cpp
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-11-17 23:44:00 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-11-17 23:44:00 +0000
commitf7791709745e6c8b82ff95629f597493aff6613a (patch)
treefb8cf829601a709eabb7e520464431a98c056af3 /tests/simplegame.cpp
parent186279ee1ee54f2cdf619f4740679bb0d8b74db4 (diff)
downloadYAGE-f7791709745e6c8b82ff95629f597493aff6613a.tar.gz
YAGE-f7791709745e6c8b82ff95629f597493aff6613a.zip
more tests added
Diffstat (limited to 'tests/simplegame.cpp')
-rw-r--r--tests/simplegame.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/simplegame.cpp b/tests/simplegame.cpp
index 4fdb38d0..54ead815 100644
--- a/tests/simplegame.cpp
+++ b/tests/simplegame.cpp
@@ -21,7 +21,7 @@ int main()
program.compileShaders("/home/yannherklotz/Github/YAGE/resources/defaultshader.vert", "/home/yannherklotz/Github/YAGE/tests/resources/defaultshader.frag");
program.addAttribute("vertex_position");
- program.addAttribute("vertex_color");
+ program.addAttribute("vertex_colour");
program.addAttribute("vertex_uv");
program.linkShaders();
@@ -31,7 +31,7 @@ int main()
window.clearBuffer();
sp.begin();
- sp.draw(std::vector<float>({0, 0, 50, 50}), std::vector<float>({0, 0, 1, 1}), fountain.id, Color(), 0);
+ sp.draw(std::vector<float>({0, 0, 50, 50}), std::vector<float>({0, 0, 1, 1}), fountain.id, Colour(), 0);
sp.render();
window.pollEvents();