mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-21 09:07:11 +02:00
misc: chore: Fix object creation in Shader project
This commit is contained in:
parent
7f5a356c3d
commit
ccef0b49eb
10 changed files with 37 additions and 37 deletions
|
@ -176,7 +176,7 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl
|
|||
}
|
||||
|
||||
string funcPrefix = $"{funcKeyword} {returnType} {funcName ?? function.Name}(";
|
||||
string indent = new string(' ', funcPrefix.Length);
|
||||
string indent = new(' ', funcPrefix.Length);
|
||||
|
||||
return $"{funcPrefix}{string.Join($", \n{indent}", args)})";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue