Graphics/ForwardRenderTechnique: Remove useless uniform sending

This commit is contained in:
Lynix 2016-12-19 18:45:42 +01:00
parent 69296daac0
commit adf5cd32b8
1 changed files with 0 additions and 1 deletions

View File

@ -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);
}