mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-29 09:57:09 +02:00
Move MaxUboSize definition (#530)
* Move MaxUboSize definition This fix a crash on Ryujinx.ShaderTools caused by the absence of an OpenGL context. * Use a constant for the value in ShaderTools * Address comments
This commit is contained in:
parent
0831a71a54
commit
c45c93fb05
4 changed files with 10 additions and 7 deletions
|
@ -53,7 +53,7 @@ namespace Ryujinx.Graphics.Gal.OpenGL
|
|||
{
|
||||
GlslProgram Program;
|
||||
|
||||
GlslDecompiler Decompiler = new GlslDecompiler();
|
||||
GlslDecompiler Decompiler = new GlslDecompiler(OGLLimit.MaxUboSize);
|
||||
|
||||
int ShaderDumpIndex = ShaderDumper.DumpIndex;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue