diff options
Diffstat (limited to 'Ryujinx.Graphics.GAL/Multithreading/Commands/Texture/TextureReleaseCommand.cs')
| -rw-r--r-- | Ryujinx.Graphics.GAL/Multithreading/Commands/Texture/TextureReleaseCommand.cs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/Ryujinx.Graphics.GAL/Multithreading/Commands/Texture/TextureReleaseCommand.cs b/Ryujinx.Graphics.GAL/Multithreading/Commands/Texture/TextureReleaseCommand.cs deleted file mode 100644 index 61486e09..00000000 --- a/Ryujinx.Graphics.GAL/Multithreading/Commands/Texture/TextureReleaseCommand.cs +++ /dev/null @@ -1,21 +0,0 @@ -using Ryujinx.Graphics.GAL.Multithreading.Model; -using Ryujinx.Graphics.GAL.Multithreading.Resources; - -namespace Ryujinx.Graphics.GAL.Multithreading.Commands.Texture -{ - struct TextureReleaseCommand : IGALCommand, IGALCommand<TextureReleaseCommand> - { - public CommandType CommandType => CommandType.TextureRelease; - private TableRef<ThreadedTexture> _texture; - - public void Set(TableRef<ThreadedTexture> texture) - { - _texture = texture; - } - - public static void Run(ref TextureReleaseCommand command, ThreadedRenderer threaded, IRenderer renderer) - { - command._texture.Get(threaded).Base.Release(); - } - } -} |
