Better debug line rendering & removed

This commit is contained in:
Antoine Pilote
2024-08-10 19:12:09 -04:00
parent ad2c40da87
commit a996a408aa
3 changed files with 9 additions and 9 deletions

View File

@@ -61,10 +61,10 @@ void EditorLayer::OnUpdate()
if (m_EditorInterface->ShouldDrawCollision())
{
m_GizmoDrawer->DrawGizmos(currentScene, false);
glDepthFunc(GL_GREATER);
//glDepthFunc(GL_GREATER);
m_GizmoDrawer->DrawGizmos(currentScene, true);
glDepthFunc(GL_LESS);
//m_GizmoDrawer->DrawGizmos(currentScene, true);
//glDepthFunc(GL_LESS);
}