aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Gal/OpenGL/ImageHandler.cs
diff options
context:
space:
mode:
authorgdk <gab.dark.100@gmail.com>2019-10-13 03:02:07 -0300
committerThog <thog@protonmail.com>2020-01-09 02:13:00 +0100
commit1876b346fea647e8284a66bb6d62c38801035cff (patch)
tree6eeff094298cda84d1613dc5ec0691e51d7b35f1 /Ryujinx.Graphics/Gal/OpenGL/ImageHandler.cs
parentf617fb542a0e3d36012d77a4b5acbde7b08902f2 (diff)
Initial work
Diffstat (limited to 'Ryujinx.Graphics/Gal/OpenGL/ImageHandler.cs')
-rw-r--r--Ryujinx.Graphics/Gal/OpenGL/ImageHandler.cs27
1 files changed, 0 insertions, 27 deletions
diff --git a/Ryujinx.Graphics/Gal/OpenGL/ImageHandler.cs b/Ryujinx.Graphics/Gal/OpenGL/ImageHandler.cs
deleted file mode 100644
index d7f6f004..00000000
--- a/Ryujinx.Graphics/Gal/OpenGL/ImageHandler.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using Ryujinx.Graphics.Texture;
-
-namespace Ryujinx.Graphics.Gal.OpenGL
-{
- class ImageHandler
- {
- public GalImage Image { get; private set; }
-
- public int Width => Image.Width;
- public int Height => Image.Height;
- public int Depth => Image.Depth;
-
- public GalImageFormat Format => Image.Format;
-
- public int Handle { get; private set; }
-
- public bool HasColor => ImageUtils.HasColor(Image.Format);
- public bool HasDepth => ImageUtils.HasDepth(Image.Format);
- public bool HasStencil => ImageUtils.HasStencil(Image.Format);
-
- public ImageHandler(int handle, GalImage image)
- {
- Handle = handle;
- Image = image;
- }
- }
-}