From adf5cd32b8e42f5eeb2bb4ac7c5a9520f1b0d640 Mon Sep 17 00:00:00 2001 From: Lynix Date: Mon, 19 Dec 2016 18:45:42 +0100 Subject: [PATCH] Graphics/ForwardRenderTechnique: Remove useless uniform sending --- src/Nazara/Graphics/ForwardRenderTechnique.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Nazara/Graphics/ForwardRenderTechnique.cpp b/src/Nazara/Graphics/ForwardRenderTechnique.cpp index 24d200754..cc24f8178 100644 --- a/src/Nazara/Graphics/ForwardRenderTechnique.cpp +++ b/src/Nazara/Graphics/ForwardRenderTechnique.cpp @@ -634,7 +634,6 @@ namespace Nz { unsigned int textureUnit = Material::GetTextureUnit(TextureMap_ReflectionCube); - shader->SendInteger(shaderUniforms->reflectionMap, textureUnit); Renderer::SetTexture(textureUnit, reflectionMap); Renderer::SetTextureSampler(textureUnit, s_reflectionSampler); }