aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.OpenGL/FormatInfo.cs
diff options
context:
space:
mode:
authorTSR Berry <20988865+TSRBerry@users.noreply.github.com>2023-04-08 01:22:00 +0200
committerMary <thog@protonmail.com>2023-04-27 23:51:14 +0200
commitcee712105850ac3385cd0091a923438167433f9f (patch)
tree4a5274b21d8b7f938c0d0ce18736d3f2993b11b1 /Ryujinx.Graphics.OpenGL/FormatInfo.cs
parentcd124bda587ef09668a971fa1cac1c3f0cfc9f21 (diff)
Move solution and projects to src
Diffstat (limited to 'Ryujinx.Graphics.OpenGL/FormatInfo.cs')
-rw-r--r--Ryujinx.Graphics.OpenGL/FormatInfo.cs45
1 files changed, 0 insertions, 45 deletions
diff --git a/Ryujinx.Graphics.OpenGL/FormatInfo.cs b/Ryujinx.Graphics.OpenGL/FormatInfo.cs
deleted file mode 100644
index aef4dbad..00000000
--- a/Ryujinx.Graphics.OpenGL/FormatInfo.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-using OpenTK.Graphics.OpenGL;
-
-namespace Ryujinx.Graphics.OpenGL
-{
- readonly struct FormatInfo
- {
- public int Components { get; }
- public bool Normalized { get; }
- public bool Scaled { get; }
-
- public PixelInternalFormat PixelInternalFormat { get; }
- public PixelFormat PixelFormat { get; }
- public PixelType PixelType { get; }
-
- public bool IsCompressed { get; }
-
- public FormatInfo(
- int components,
- bool normalized,
- bool scaled,
- All pixelInternalFormat,
- PixelFormat pixelFormat,
- PixelType pixelType)
- {
- Components = components;
- Normalized = normalized;
- Scaled = scaled;
- PixelInternalFormat = (PixelInternalFormat)pixelInternalFormat;
- PixelFormat = pixelFormat;
- PixelType = pixelType;
- IsCompressed = false;
- }
-
- public FormatInfo(int components, bool normalized, bool scaled, All pixelFormat)
- {
- Components = components;
- Normalized = normalized;
- Scaled = scaled;
- PixelInternalFormat = 0;
- PixelFormat = (PixelFormat)pixelFormat;
- PixelType = 0;
- IsCompressed = true;
- }
- }
-}