From 2d409c477d93a2787ddfc6fcc39e441583b02af2 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Thu, 15 Nov 2018 00:07:19 -0300 Subject: [PATCH] Remove some debug code --- Ryujinx.Graphics/Gal/OpenGL/OGLRenderTarget.cs | 2 -- Ryujinx.Graphics/NvGpuEngine3d.cs | 2 -- 2 files changed, 4 deletions(-) diff --git a/Ryujinx.Graphics/Gal/OpenGL/OGLRenderTarget.cs b/Ryujinx.Graphics/Gal/OpenGL/OGLRenderTarget.cs index 17a3ec92d6..8d04f1aae7 100644 --- a/Ryujinx.Graphics/Gal/OpenGL/OGLRenderTarget.cs +++ b/Ryujinx.Graphics/Gal/OpenGL/OGLRenderTarget.cs @@ -402,8 +402,6 @@ namespace Ryujinx.Graphics.Gal.OpenGL DstFb = GL.GenFramebuffer(); } - GL.GetError(); - GL.BindFramebuffer(FramebufferTarget.ReadFramebuffer, SrcFb); GL.BindFramebuffer(FramebufferTarget.DrawFramebuffer, DstFb); diff --git a/Ryujinx.Graphics/NvGpuEngine3d.cs b/Ryujinx.Graphics/NvGpuEngine3d.cs index 7e2e7eb0c1..f378152f31 100644 --- a/Ryujinx.Graphics/NvGpuEngine3d.cs +++ b/Ryujinx.Graphics/NvGpuEngine3d.cs @@ -561,8 +561,6 @@ namespace Ryujinx.Graphics Key &= ~0x1fL; } - long addr = Key; - Key = Vmm.GetPhysicalAddress(Key); if (Key == -1)