mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-08-04 20:12:25 -07:00
Fix fragment shaders (and fuck everything up)
This commit is contained in:
committed by
Isaac Marovitz
parent
2890fc1069
commit
511db833db
@@ -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