]> git.localhorst.tv Git - blank.git/blobdiff - src/app.cpp
use one vao per model
[blank.git] / src / app.cpp
index 9580d33560024171ab9db84e957777b697f2c970..d8f1e2147ba2589df979be0c7bbdd3402fc4eb57 100644 (file)
@@ -31,10 +31,6 @@ Application::Application()
 , place_id(1) {
        GLContext::EnableVSync();
 
-       GLuint VertexArrayID;
-       glGenVertexArrays(1, &VertexArrayID);
-       glBindVertexArray(VertexArrayID);
-
        world.Generate({ -4, -4, -4 }, { 5, 5, 5});
 
        hud.Viewport(960, 600);