Log failed format conversions

This commit is contained in:
Isaac Marovitz 2024-05-31 14:03:38 +01:00 committed by Isaac Marovitz
parent 607eadda79
commit 802d4f043c
1 changed files with 5 additions and 0 deletions

View File

@ -180,6 +180,11 @@ namespace Ryujinx.Graphics.Metal
}
}
if (mtlFormat == MTLPixelFormat.Invalid)
{
Logger.Error?.PrintMsg(LogClass.Gpu, $"Application requested {format}, no direct equivalent was found!");
}
return mtlFormat;
}
}