Patch some leaks and only perform copies on valid textures (#37)

This commit is contained in:
riperiperi
2024-08-05 22:58:37 +01:00
committed by Evan Husted
parent ceaa174859
commit e8de1156eb
6 changed files with 29 additions and 13 deletions

View File

@@ -46,7 +46,7 @@ namespace Ryujinx.Graphics.Metal
{
ShaderSource shader = _shaders[i];
var compileOptions = new MTLCompileOptions
using var compileOptions = new MTLCompileOptions
{
PreserveInvariance = true,
LanguageVersion = MTLLanguageVersion.Version31,