Graphics/ForwardRenderTechnique: Remove useless uniform sending
This commit is contained in:
parent
69296daac0
commit
adf5cd32b8
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue