diff options
Diffstat (limited to 'tests/simplegame.cpp')
-rw-r--r-- | tests/simplegame.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/tests/simplegame.cpp b/tests/simplegame.cpp index 99796f08..d4c7b266 100644 --- a/tests/simplegame.cpp +++ b/tests/simplegame.cpp @@ -1,5 +1,5 @@ -/* ---------------------------------------------------------------------------- - * simplegame.cpp +/** --------------------------------------------------------------------------- + * @file: simplegame.cpp * * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> * MIT License, see LICENSE file for more details. @@ -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/" |