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 e75105ab13
commit 2611f7bb9e
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();