aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.GAL/Multithreading/Model/TableRef.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.Graphics.GAL/Multithreading/Model/TableRef.cs')
-rw-r--r--src/Ryujinx.Graphics.GAL/Multithreading/Model/TableRef.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Ryujinx.Graphics.GAL/Multithreading/Model/TableRef.cs b/src/Ryujinx.Graphics.GAL/Multithreading/Model/TableRef.cs
index 166aa71a..e454df21 100644
--- a/src/Ryujinx.Graphics.GAL/Multithreading/Model/TableRef.cs
+++ b/src/Ryujinx.Graphics.GAL/Multithreading/Model/TableRef.cs
@@ -1,8 +1,8 @@
namespace Ryujinx.Graphics.GAL.Multithreading.Model
{
- struct TableRef<T>
+ readonly struct TableRef<T>
{
- private int _index;
+ private readonly int _index;
public TableRef(ThreadedRenderer renderer, T reference)
{