Remove some error logging to avoid log spam

This commit is contained in:
gdkchan 2019-12-29 20:30:40 -03:00 committed by Thog
parent ffaad0eaac
commit c5b9088914

View file

@ -608,10 +608,6 @@ namespace Ryujinx.Graphics.OpenGL
{ {
((Sampler)sampler).Bind(unit); ((Sampler)sampler).Bind(unit);
} }
else if (unit == -1)
{
Logger.PrintError(LogClass.Gpu, $"Invalid binding point: {stage} {index}.");
}
} }
public void SetStencilTest(StencilTestDescriptor stencilTest) public void SetStencilTest(StencilTestDescriptor stencilTest)
@ -676,10 +672,6 @@ namespace Ryujinx.Graphics.OpenGL
((TextureView)texture).Bind(unit); ((TextureView)texture).Bind(unit);
} }
} }
else if (unit == -1)
{
Logger.PrintError(LogClass.Gpu, $"Invalid binding point: {stage} {index}.");
}
} }
public void SetUniformBuffer(int index, ShaderStage stage, BufferRange buffer) public void SetUniformBuffer(int index, ShaderStage stage, BufferRange buffer)
@ -763,8 +755,6 @@ namespace Ryujinx.Graphics.OpenGL
if (bindingPoint == -1) if (bindingPoint == -1)
{ {
Logger.PrintError(LogClass.Gpu, $"Invalid binding point: {stage} {index}.");
return; return;
} }