diff options
author | gdkchan <gab.dark.100@gmail.com> | 2020-03-29 00:02:58 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-29 14:02:58 +1100 |
commit | ab4867505ec0d3f5a9ec4f042ccd6f7890e3632e (patch) | |
tree | b3956fc821e0dcb8c8c3edc9dcae5eadf83ce29d /Ryujinx.Graphics.OpenGL/Renderer.cs | |
parent | 06bf25521ff3ab2ad82eb49cde2bb6f90324caa2 (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.cs | 6 |
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) |