Removed bogus line of code

This commit is contained in:
arby
2022-03-18 23:24:49 +01:00
parent 9f9c9588bb
commit f144783220

View File

@@ -231,7 +231,6 @@ int main()
simpleDepthShader.use(); simpleDepthShader.use();
glBindFramebuffer(GL_FRAMEBUFFER, lightFBO); glBindFramebuffer(GL_FRAMEBUFFER, lightFBO);
glFramebufferTexture(GL_FRAMEBUFFER, GL_TEXTURE_2D_ARRAY, lightDepthMaps, 0);
glViewport(0, 0, depthMapResolution, depthMapResolution); glViewport(0, 0, depthMapResolution, depthMapResolution);
glClear(GL_DEPTH_BUFFER_BIT); glClear(GL_DEPTH_BUFFER_BIT);
glCullFace(GL_FRONT); // peter panning glCullFace(GL_FRONT); // peter panning