From f0c91d9efb7eff0b8bbe8fc8d4901af5a9d59005 Mon Sep 17 00:00:00 2001 From: mageven <62494521+mageven@users.noreply.github.com> Date: Sun, 2 Aug 2020 20:11:24 +0530 Subject: Facilitate OpenGL debug logging via GUI (#1373) * Allow printing GL Debug logs with GUI options Improve GL Debugger Make the new option persistent Address gdkchan's comments - Rename enum to GraphicsDebugLevel - Move Debugger Init to Renderer Init - Fix formatting * nit: newlines --- Ryujinx.Graphics.GAL/IRenderer.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Ryujinx.Graphics.GAL') diff --git a/Ryujinx.Graphics.GAL/IRenderer.cs b/Ryujinx.Graphics.GAL/IRenderer.cs index 6fd3feba..fec8d3be 100644 --- a/Ryujinx.Graphics.GAL/IRenderer.cs +++ b/Ryujinx.Graphics.GAL/IRenderer.cs @@ -1,3 +1,4 @@ +using Ryujinx.Common.Configuration; using Ryujinx.Graphics.Shader; using System; @@ -32,6 +33,6 @@ namespace Ryujinx.Graphics.GAL void ResetCounter(CounterType type); - void Initialize(); + void Initialize(GraphicsDebugLevel logLevel); } } -- cgit v1.2.3