mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2025-11-21 17:00:53 -05:00
Fix fragment shaders (and fuck everything up)
This commit is contained in:
committed by
Evan Husted
parent
b3629e3a8b
commit
d45c7711ba
@@ -20,8 +20,9 @@ namespace Ryujinx.Graphics.Metal
|
||||
{
|
||||
for (int index = 0; index < shaders.Length; index++)
|
||||
{
|
||||
var libraryError = new NSError(IntPtr.Zero);
|
||||
ShaderSource shader = shaders[index];
|
||||
|
||||
var libraryError = new NSError(IntPtr.Zero);
|
||||
var shaderLibrary = device.NewLibrary(StringHelper.NSString(shader.Code), new MTLCompileOptions(IntPtr.Zero), ref libraryError);
|
||||
if (libraryError != IntPtr.Zero)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user