clean code

This commit is contained in:
Sam Gateau 2015-01-05 13:10:32 -08:00
parent 0b8b4c6d08
commit 7529b3d1b0
2 changed files with 2 additions and 2 deletions

View file

@ -2795,7 +2795,7 @@ void Application::updateShadowMap() {
QOpenGLFramebufferObject* fbo = DependencyManager::get<TextureCache>()->getShadowFramebufferObject();
fbo->bind();
glEnable(GL_DEPTH_TEST);
glClear(/*GL_COLOR_BUFFER_BIT | */GL_DEPTH_BUFFER_BIT);
glClear(GL_DEPTH_BUFFER_BIT);
glm::vec3 lightDirection = -getSunDirection();
glm::quat rotation = rotationBetween(IDENTITY_FRONT, lightDirection);