Fix RGB Seizure

This commit is contained in:
Isaac Marovitz
2023-08-02 21:18:28 -04:00
committed by Isaac Marovitz
parent 07be20c369
commit 541cdfebb7
3 changed files with 8 additions and 4 deletions

View File

@@ -1,6 +1,5 @@
using Ryujinx.Common.Logging;
using Ryujinx.Graphics.GAL;
using SharpMetal.Metal;
using SharpMetal.ObjectiveCCore;
using SharpMetal.QuartzCore;
using System;
@@ -20,6 +19,7 @@ namespace Ryujinx.Graphics.Metal
_metalLayer = metalLayer;
}
// TODO: Handle ImageCrop
public void Present(ITexture texture, ImageCrop crop, Action swapBuffersCallback)
{
if (_renderer.Pipeline is Pipeline pipeline && texture is Texture tex)