X-Git-Url: https://git.lukelau.me/?p=opengl.git;a=blobdiff_plain;f=skybox.cpp;h=83f130855fa668919ea9ca938230a117bb839e5f;hp=c0a9ff63e75c539ef3eb62108c3325beeeff6c13;hb=d2a4cfcd292f5bc422a025d43855e5f4f21fb161;hpb=4b4ca69c7cb67e03931d089a27cefa23be0544ac 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