mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-09-06 03:44:59 +00:00
Always set new texture data for textures initialized by a copy. (#1576)
This commit is contained in:
parent
16e9d15674
commit
f89b754abb
|
@ -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