projects
/
opengl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WIP on inverse kinematics
[opengl.git]
/
skybox.cpp
diff --git
a/skybox.cpp
b/skybox.cpp
index c0a9ff63e75c539ef3eb62108c3325beeeff6c13..83f130855fa668919ea9ca938230a117bb839e5f 100644
(file)
--- 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);
glActiveTexture(GL_TEXTURE0);
glBindTexture(GL_TEXTURE_CUBE_MAP, cubemapTexId);
glDrawArrays(GL_TRIANGLES, 0, 36);
-
- if (glGetError()) exit(1);
}
template <std::size_t N>
}
template <std::size_t N>