mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-09 20:08:57 +03:00
Compilation fix
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user