forked from Mirror/Ryujinx
Always set new texture data for textures initialized by a copy. (#1576)
This commit is contained in:
parent
16e9d15674
commit
f89b754abb
1 changed files with 1 additions and 1 deletions
|
@ -771,7 +771,7 @@ namespace Ryujinx.Graphics.Gpu.Image
|
||||||
// Any textures that are incompatible will contain garbage data, so they should be removed where possible.
|
// Any textures that are incompatible will contain garbage data, so they should be removed where possible.
|
||||||
|
|
||||||
int viewCompatible = 0;
|
int viewCompatible = 0;
|
||||||
bool setData = isSamplerTexture || overlapsCount == 0;
|
bool setData = isSamplerTexture || overlapsCount == 0 || flags.HasFlag(TextureSearchFlags.ForCopy);
|
||||||
|
|
||||||
for (int index = 0; index < overlapsCount; index++)
|
for (int index = 0; index < overlapsCount; index++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue