Skip to content

Commit

Permalink
Removed extra call to glClear (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
kastrbl4nik authored Jul 16, 2021
1 parent 77cac31 commit af31e61
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Source/Renderer/RenderMaster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ void RenderMaster::finishRender(sf::Window &window, const Camera &camera)
glClearColor(0.0, 0.0, 0.0, 1.0);
glClear(GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT);

glClear(GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT);
glEnable(GL_DEPTH_TEST);
glEnable(GL_CULL_FACE);
m_chunkRenderer.render(camera);
Expand Down

0 comments on commit af31e61

Please sign in to comment.