diff --git a/src/opengl/primitives.cpp b/src/opengl/primitives.cpp index 94edb318..93151d12 100644 --- a/src/opengl/primitives.cpp +++ b/src/opengl/primitives.cpp @@ -113,20 +113,12 @@ namespace opengl , GL_STATIC_DRAW ); - auto test = glGetError(); - opengl::scoped::use_program shader (*_program.get()); - test = glGetError(); - opengl::scoped::vao_binder const _ (_vao[0]); - test = glGetError(); - shader.attrib("position", 3, GL_FLOAT, GL_FALSE, 0, 0); - test = glGetError(); - _buffers_are_setup = true; }