From 5a40e0d3734ebaf3f8cbbe5f349a92243be50b39 Mon Sep 17 00:00:00 2001 From: Lynix Date: Fri, 11 Jan 2013 14:33:43 +0100 Subject: [PATCH] Fixed DebugDrawer color Former-commit-id: 08b654b1d3002c76634f8ca3b2aa57e66f33e7ae --- src/Nazara/Renderer/DebugDrawer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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