aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.OpenGL/Renderer.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2020-03-29 00:02:58 -0300
committerGitHub <noreply@github.com>2020-03-29 14:02:58 +1100
commitab4867505ec0d3f5a9ec4f042ccd6f7890e3632e (patch)
treeb3956fc821e0dcb8c8c3edc9dcae5eadf83ce29d /Ryujinx.Graphics.OpenGL/Renderer.cs
parent06bf25521ff3ab2ad82eb49cde2bb6f90324caa2 (diff)
Implement GPU scissors (#1058)
* Implement GPU scissors * Remove unused using * Add missing changes for Clear
Diffstat (limited to 'Ryujinx.Graphics.OpenGL/Renderer.cs')
-rw-r--r--Ryujinx.Graphics.OpenGL/Renderer.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Ryujinx.Graphics.OpenGL/Renderer.cs b/Ryujinx.Graphics.OpenGL/Renderer.cs
index 6ff3c36c..cf2adc45 100644
--- a/Ryujinx.Graphics.OpenGL/Renderer.cs
+++ b/Ryujinx.Graphics.OpenGL/Renderer.cs
@@ -7,7 +7,7 @@ namespace Ryujinx.Graphics.OpenGL
{
public sealed class Renderer : IRenderer
{
- private Pipeline _pipeline;
+ private readonly Pipeline _pipeline;
public IPipeline Pipeline => _pipeline;
@@ -31,9 +31,9 @@ namespace Ryujinx.Graphics.OpenGL
_counters = new Counters();
- _window = new Window();
+ _window = new Window(this);
- TextureCopy = new TextureCopy();
+ TextureCopy = new TextureCopy(this);
}
public IShader CompileShader(ShaderProgram shader)