Просмотр исходного кода

Remove some error logging to avoid log spam

gdkchan 6 лет назад
Родитель
Сommit
c5b9088914
1 измененных файлов с 0 добавлено и 10 удалено
  1. 0 10
      Ryujinx.Graphics.OpenGL/Pipeline.cs

+ 0 - 10
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;
             }