diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2018-09-25 19:55:30 -0300 |
|---|---|---|
| committer | Ac_K <Acoustik666@gmail.com> | 2018-09-26 00:55:30 +0200 |
| commit | 2562ca6c3fe6ef328e0926c9cbcd6bb52abb328f (patch) | |
| tree | d4719ba44b7094cf4e8cf11db858b323644fd44a /Ryujinx.Graphics/GpuResourceManager.cs | |
| parent | 7de7b559adc1924d3ff31cc58b281f70e468155f (diff) | |
Fix multiple rendertargets (#427)
* Simplify render target bindings
* Implement multiple viewports
* Pack glViewportIndexed calls into a single glViewportArray
* Use ARB_viewport_array when available
* Cache framebuffer attachments
* Use get accessors in OGLExtension
* Address feedback
Diffstat (limited to 'Ryujinx.Graphics/GpuResourceManager.cs')
| -rw-r--r-- | Ryujinx.Graphics/GpuResourceManager.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.Graphics/GpuResourceManager.cs b/Ryujinx.Graphics/GpuResourceManager.cs index 0a8d2014..71390a83 100644 --- a/Ryujinx.Graphics/GpuResourceManager.cs +++ b/Ryujinx.Graphics/GpuResourceManager.cs @@ -46,7 +46,7 @@ namespace Ryujinx.Graphics Gpu.Renderer.Texture.Create(Position, (int)Size, NewImage); } - Gpu.Renderer.RenderTarget.BindColor(Position, Attachment, NewImage); + Gpu.Renderer.RenderTarget.BindColor(Position, Attachment); } public void SendZetaBuffer(NvGpuVmm Vmm, long Position, GalImage NewImage) @@ -60,7 +60,7 @@ namespace Ryujinx.Graphics Gpu.Renderer.Texture.Create(Position, (int)Size, NewImage); } - Gpu.Renderer.RenderTarget.BindZeta(Position, NewImage); + Gpu.Renderer.RenderTarget.BindZeta(Position); } public void SendTexture(NvGpuVmm Vmm, long Position, GalImage NewImage, int TexIndex = -1) |
