This commit is contained in:
EmulationFanatic 2021-03-16 17:11:50 -06:00 committed by GitHub
parent e44850fed4
commit 2b92c10105
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,9 +102,9 @@ namespace Ryujinx.Graphics.OpenGL.Image
public int GetIncompatibleFormatViewHandle() public int GetIncompatibleFormatViewHandle()
{ {
// AMD and Intel has a bug where the view format is always ignored, // AMD and Intel have a bug where the view format is always ignored;
// it uses the parent format instead. // they use the parent format instead.
// As workaround we create a new texture with the correct // As a workaround we create a new texture with the correct
// format, and then do a copy after the draw. // format, and then do a copy after the draw.
if (_parent.Info.Format != Format) if (_parent.Info.Format != Format)
{ {