diff options
Diffstat (limited to 'Ryujinx.Graphics.GAL/Multithreading/Commands/SetPrimitiveRestartCommand.cs')
-rw-r--r-- | Ryujinx.Graphics.GAL/Multithreading/Commands/SetPrimitiveRestartCommand.cs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/Ryujinx.Graphics.GAL/Multithreading/Commands/SetPrimitiveRestartCommand.cs b/Ryujinx.Graphics.GAL/Multithreading/Commands/SetPrimitiveRestartCommand.cs deleted file mode 100644 index 26b88b01..00000000 --- a/Ryujinx.Graphics.GAL/Multithreading/Commands/SetPrimitiveRestartCommand.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace Ryujinx.Graphics.GAL.Multithreading.Commands -{ - struct SetPrimitiveRestartCommand : IGALCommand, IGALCommand<SetPrimitiveRestartCommand> - { - public CommandType CommandType => CommandType.SetPrimitiveRestart; - private bool _enable; - private int _index; - - public void Set(bool enable, int index) - { - _enable = enable; - _index = index; - } - - public static void Run(ref SetPrimitiveRestartCommand command, ThreadedRenderer threaded, IRenderer renderer) - { - renderer.Pipeline.SetPrimitiveRestart(command._enable, command._index); - } - } -} |