From 752f9ac8f87fbb8eac7ae62e9098c4291f69b1ac Mon Sep 17 00:00:00 2001 From: Antoine Pilote Date: Sun, 16 Jul 2023 14:12:01 -0400 Subject: [PATCH] Compilation fix --- Editor/Editor.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Editor/Editor.cpp b/Editor/Editor.cpp index 8384f656..82efcf48 100644 --- a/Editor/Editor.cpp +++ b/Editor/Editor.cpp @@ -196,14 +196,14 @@ int main(int argc, char* argv[]) float nearZ = 0.1f; float farZ = 1000.0f; - gizmoDrawer.GetLineShader().SetUniformTex("u_Depth", depthTexture.get(), 3); - gizmoDrawer.GetLineShader().SetUniformVec2("u_Resolution", depthTexture->GetSize()); + //gizmoDrawer.GetLineShader().SetUniformTex("u_Depth", depthTexture.get(), 3); + //gizmoDrawer.GetLineShader().SetUniformVec2("u_Resolution", depthTexture->GetSize()); glEnable(GL_LINE_SMOOTH); glEnable(GL_BLEND); glDepthRange(0.1f, 1000.0f); if (editor.ShouldDrawAxis()) { - gizmoDrawer.DrawAxis(currentScene); + //gizmoDrawer.DrawAxis(currentScene); } if (editor.ShouldDrawCollision())