diff --git a/src/Nazara/Renderer/DebugDrawer.cpp b/src/Nazara/Renderer/DebugDrawer.cpp index 8f6c5929a..f0e9e417c 100644 --- a/src/Nazara/Renderer/DebugDrawer.cpp +++ b/src/Nazara/Renderer/DebugDrawer.cpp @@ -382,7 +382,7 @@ bool NzDebugDrawer::Initialize() return false; } - colorLocation = shader->GetUniformLocation("DiffuseColor"); + colorLocation = shader->GetUniformLocation("MaterialDiffuse"); } // VertexDeclaration