Fix depth stencil formats copy by matching equivalent color formats (#1198)

This commit is contained in:
gdkchan
2020-07-13 08:41:30 -03:00
committed by GitHub
parent a804db6eed
commit 2900dda633
4 changed files with 37 additions and 15 deletions

View File

@ -59,7 +59,7 @@ namespace Ryujinx.Graphics.Gpu.Image
return null;
}
texture = Context.Methods.TextureManager.FindOrCreateTexture(info, TextureSearchFlags.Sampler);
texture = Context.Methods.TextureManager.FindOrCreateTexture(info, TextureSearchFlags.ForSampler);
texture.IncrementReferenceCount();