Do boning and animation properly
[opengl.git] / skybox.cpp
index c0a9ff63e75c539ef3eb62108c3325beeeff6c13..83f130855fa668919ea9ca938230a117bb839e5f 100644 (file)
@@ -207,8 +207,6 @@ void Skybox::draw(glm::mat4 proj, glm::mat4 view) const {
        glActiveTexture(GL_TEXTURE0);
        glBindTexture(GL_TEXTURE_CUBE_MAP, cubemapTexId);
        glDrawArrays(GL_TRIANGLES, 0, 36);
-
-       if (glGetError()) exit(1);
 }
 
 template <std::size_t N>