diff options
Diffstat (limited to 'tests/simplegame.cpp')
-rw-r--r-- | tests/simplegame.cpp | 8 |
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/" |