diff --git a/OpenGLEngine/MySimpleScene.cpp b/OpenGLEngine/MySimpleScene.cpp index 2a3944a..350b0b2 100644 --- a/OpenGLEngine/MySimpleScene.cpp +++ b/OpenGLEngine/MySimpleScene.cpp @@ -1,7 +1,6 @@ #include "MySimpleScene.h" MySimpleScene::MySimpleScene() - //: m_batch(m_triangle) { } @@ -46,8 +45,6 @@ void MySimpleScene::update(float delta_time, clock_t clock) void MySimpleScene::render() { - //m_shader_program.use(); - //m_batch.render(); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); m_shader_program.use(); glBindVertexArray(m_vao); diff --git a/OpenGLEngine/MySimpleScene.h b/OpenGLEngine/MySimpleScene.h index ff5afec..36922c9 100644 --- a/OpenGLEngine/MySimpleScene.h +++ b/OpenGLEngine/MySimpleScene.h @@ -27,9 +27,7 @@ public: void render() override; private: - //MyBatch m_batch; MyShaderProgram m_shader_program; - //MyTriangle m_triangle; GLuint m_vbo; GLuint m_vao;