From d7bfe1b7a503d499515b0a734d1ba0b4f726b4a3 Mon Sep 17 00:00:00 2001 From: Thog Date: Fri, 7 Dec 2018 01:11:24 +0100 Subject: [PATCH] Use a constant for the value in ShaderTools --- Ryujinx.ShaderTools/Program.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Ryujinx.ShaderTools/Program.cs b/Ryujinx.ShaderTools/Program.cs index 9b55f964a7..30fa71aea2 100644 --- a/Ryujinx.ShaderTools/Program.cs +++ b/Ryujinx.ShaderTools/Program.cs @@ -7,11 +7,13 @@ namespace Ryujinx.ShaderTools { class Program { + private static readonly int MaxUboSize = 65536; + static void Main(string[] args) { if (args.Length == 2) { - GlslDecompiler Decompiler = new GlslDecompiler(65536); + GlslDecompiler Decompiler = new GlslDecompiler(MaxUboSize); GalShaderType ShaderType = GalShaderType.Vertex;