diff options
author | gdkchan <gab.dark.100@gmail.com> | 2019-12-28 20:45:33 -0300 |
---|---|---|
committer | Thog <thog@protonmail.com> | 2020-01-09 02:13:00 +0100 |
commit | af8498d6790ba83f1cf87eccf5f272f2ccbeb169 (patch) | |
tree | f4bbd0c418a056211f5077646100bedeb5e8fc13 /Ryujinx.Graphics.OpenGL/Converters/DepthStencilModeConverter.cs | |
parent | d1ab9fb42c2fd9f018d4410ca619cd66294eafc9 (diff) |
Add basic error logging to the GPU
Diffstat (limited to 'Ryujinx.Graphics.OpenGL/Converters/DepthStencilModeConverter.cs')
-rw-r--r-- | Ryujinx.Graphics.OpenGL/Converters/DepthStencilModeConverter.cs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/Ryujinx.Graphics.OpenGL/Converters/DepthStencilModeConverter.cs b/Ryujinx.Graphics.OpenGL/Converters/DepthStencilModeConverter.cs deleted file mode 100644 index 4d14bdea..00000000 --- a/Ryujinx.Graphics.OpenGL/Converters/DepthStencilModeConverter.cs +++ /dev/null @@ -1,20 +0,0 @@ -using OpenTK.Graphics.OpenGL; -using Ryujinx.Graphics.GAL.Texture; -using System; - -namespace Ryujinx.Graphics.OpenGL -{ - static class DepthStencilModeConverter - { - public static All Convert(this DepthStencilMode mode) - { - switch (mode) - { - case DepthStencilMode.Depth: return All.Depth; - case DepthStencilMode.Stencil: return All.Stencil; - } - - throw new ArgumentException($"Invalid depth stencil mode \"{mode}\"."); - } - } -} |