From c5b908891471bfc5c33aad60eb6ad981eb6856db Mon Sep 17 00:00:00 2001 From: gdkchan Date: Sun, 29 Dec 2019 20:30:40 -0300 Subject: [PATCH] Remove some error logging to avoid log spam --- Ryujinx.Graphics.OpenGL/Pipeline.cs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Ryujinx.Graphics.OpenGL/Pipeline.cs b/Ryujinx.Graphics.OpenGL/Pipeline.cs index c7d96eddb..1a0c71155 100644 --- a/Ryujinx.Graphics.OpenGL/Pipeline.cs +++ b/Ryujinx.Graphics.OpenGL/Pipeline.cs @@ -608,10 +608,6 @@ namespace Ryujinx.Graphics.OpenGL { ((Sampler)sampler).Bind(unit); } - else if (unit == -1) - { - Logger.PrintError(LogClass.Gpu, $"Invalid binding point: {stage} {index}."); - } } public void SetStencilTest(StencilTestDescriptor stencilTest) @@ -676,10 +672,6 @@ namespace Ryujinx.Graphics.OpenGL ((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) @@ -763,8 +755,6 @@ namespace Ryujinx.Graphics.OpenGL if (bindingPoint == -1) { - Logger.PrintError(LogClass.Gpu, $"Invalid binding point: {stage} {index}."); - return; }