aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.OpenGL/BackgroundContextWorker.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.OpenGL/BackgroundContextWorker.cs')
-rw-r--r--Ryujinx.Graphics.OpenGL/BackgroundContextWorker.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.OpenGL/BackgroundContextWorker.cs b/Ryujinx.Graphics.OpenGL/BackgroundContextWorker.cs
index f942037c..3f1c055b 100644
--- a/Ryujinx.Graphics.OpenGL/BackgroundContextWorker.cs
+++ b/Ryujinx.Graphics.OpenGL/BackgroundContextWorker.cs
@@ -19,6 +19,7 @@ namespace Ryujinx.Graphics.OpenGL
public BackgroundContextWorker(IOpenGLContext backgroundContext)
{
+ _backgroundContext = backgroundContext;
_running = true;
_signal = new AutoResetEvent(false);
@@ -27,7 +28,6 @@ namespace Ryujinx.Graphics.OpenGL
_thread = new Thread(Run);
_thread.Start();
- _backgroundContext = backgroundContext;
}
private void Run()