aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/Image/Texture.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2021-12-26 13:05:26 -0300
committerGitHub <noreply@github.com>2021-12-26 13:05:26 -0300
commita87f7f202973d2ab0db088f97b3538ae724bbe69 (patch)
treee8030e9b16694ccd44d9ada61ec4520a79fbb76f /Ryujinx.Graphics.Gpu/Image/Texture.cs
parent7c7bf30ad38d0d80ed9c125b7c894eba2293df66 (diff)
Fix DMA copy fast path line size when xCount < stride (#2942)
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Image/Texture.cs')
-rw-r--r--Ryujinx.Graphics.Gpu/Image/Texture.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Gpu/Image/Texture.cs b/Ryujinx.Graphics.Gpu/Image/Texture.cs
index a13edc69..590356e3 100644
--- a/Ryujinx.Graphics.Gpu/Image/Texture.cs
+++ b/Ryujinx.Graphics.Gpu/Image/Texture.cs
@@ -760,6 +760,7 @@ namespace Ryujinx.Graphics.Gpu.Image
Info.FormatInfo.BlockWidth,
Info.FormatInfo.BlockHeight,
Info.Stride,
+ Info.Stride,
Info.FormatInfo.BytesPerPixel,
data);
}