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