aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Gal/Texture/TextureDecoder.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics/Gal/Texture/TextureDecoder.cs')
-rw-r--r--Ryujinx.Graphics/Gal/Texture/TextureDecoder.cs19
1 files changed, 0 insertions, 19 deletions
diff --git a/Ryujinx.Graphics/Gal/Texture/TextureDecoder.cs b/Ryujinx.Graphics/Gal/Texture/TextureDecoder.cs
deleted file mode 100644
index 4e50db51..00000000
--- a/Ryujinx.Graphics/Gal/Texture/TextureDecoder.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-using System;
-
-namespace Ryujinx.Graphics.Gal.Texture
-{
- static class TextureDecoder
- {
- public static byte[] Decode(GalTexture Texture)
- {
- switch (Texture.Format)
- {
- case GalTextureFormat.BC1: return BCn.DecodeBC1(Texture, 0);
- case GalTextureFormat.BC2: return BCn.DecodeBC2(Texture, 0);
- case GalTextureFormat.BC3: return BCn.DecodeBC3(Texture, 0);
- }
-
- throw new NotImplementedException(Texture.Format.ToString());
- }
- }
-} \ No newline at end of file