aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2024-02-04 18:12:12 -0300
committerGitHub <noreply@github.com>2024-02-04 18:12:12 -0300
commit8927e0669f0735b5fbea5c6b82a9c917cc8b6e0c (patch)
tree589e9f941eecb8b3c61110908574871920dd7ce1 /src
parentbbed3b99265ad03f8649ff2cc1300a135c0ba3f1 (diff)
Revert change to skip flush when range size is 0 (#6254)1.1.1159
Diffstat (limited to 'src')
-rw-r--r--src/Ryujinx.Graphics.Gpu/Image/TextureGroup.cs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/Ryujinx.Graphics.Gpu/Image/TextureGroup.cs b/src/Ryujinx.Graphics.Gpu/Image/TextureGroup.cs
index 0fb4f1be..fb209744 100644
--- a/src/Ryujinx.Graphics.Gpu/Image/TextureGroup.cs
+++ b/src/Ryujinx.Graphics.Gpu/Image/TextureGroup.cs
@@ -1630,12 +1630,6 @@ namespace Ryujinx.Graphics.Gpu.Image
return;
}
- // If size is zero, we have nothing to flush.
- if (size == 0)
- {
- return;
- }
-
// There is a small gap here where the action is removed but _actionRegistered is still 1.
// In this case it will skip registering the action, but here we are already handling it,
// so there shouldn't be any issue as it's the same handler for all actions.