X-Git-Url: https://git.lukelau.me/?p=opengl.git;a=blobdiff_plain;f=skybox.cpp;h=83f130855fa668919ea9ca938230a117bb839e5f;hp=c0a9ff63e75c539ef3eb62108c3325beeeff6c13;hb=dbd855720a9af7d6e599ddc50bbbb0dee85458a5;hpb=9e2f64944d28b5e050e37d9995ffeb3dd4cb5b7a diff --git a/skybox.cpp b/skybox.cpp index c0a9ff6..83f1308 100644 --- a/skybox.cpp +++ b/skybox.cpp @@ -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