aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-12-20 17:39:48 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-12-20 17:39:48 +0000
commitb885965a6375f98d6bec63a43233461f9f42006d (patch)
tree454d197fe5c3ca2dc721062cc383da5abdd8a596 /tests
parentc60164953dd6a4ee485c42211a3bcf8ee9eba06f (diff)
downloadYAGE-b885965a6375f98d6bec63a43233461f9f42006d.tar.gz
YAGE-b885965a6375f98d6bec63a43233461f9f42006d.zip
Added default shaders, update version script
Diffstat (limited to 'tests')
-rw-r--r--tests/simplegame.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/simplegame.cpp b/tests/simplegame.cpp
index 08f9f8c5..d4c7b266 100644
--- a/tests/simplegame.cpp
+++ b/tests/simplegame.cpp
@@ -22,13 +22,7 @@ int main()
window.create("Simple Game", 800, 640);
SpriteBatch sp;
- program.compileShaders(
- "/home/yannherklotz/Github/YAGE/resources/defaultshader.vert",
- "/home/yannherklotz/Github/YAGE/resources/defaultshader.frag");
- program.addAttribute("vertex_position");
- program.addAttribute("vertex_colour");
- program.addAttribute("vertex_uv");
- program.linkShaders();
+ program.defaultSetup();
Texture fountain =
ResourceManager::getTexture("/home/yannherklotz/Github/YAGE/tests/"