Skip to content

Commit af31e61

Browse files
authored
Removed extra call to glClear (#141)
1 parent 77cac31 commit af31e61

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Source/Renderer/RenderMaster.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ void RenderMaster::finishRender(sf::Window &window, const Camera &camera)
3939
glClearColor(0.0, 0.0, 0.0, 1.0);
4040
glClear(GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT);
4141

42-
glClear(GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT);
4342
glEnable(GL_DEPTH_TEST);
4443
glEnable(GL_CULL_FACE);
4544
m_chunkRenderer.render(camera);

0 commit comments

Comments
 (0)