mirror of
https://github.com/Ryujinx-NX/Ryujinx.git
synced 2024-11-14 21:17:43 -07: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 New Issue
Block a user