summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
-rw-r--r--Source/Core/VideoCommon/TextureCacheBase.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp
index 278d2486b9..9ac75d31f0 100644
--- a/Source/Core/VideoCommon/TextureCacheBase.cpp
+++ b/Source/Core/VideoCommon/TextureCacheBase.cpp
@@ -573,8 +573,10 @@ private:
auto x = j * 2;
auto y = i * 2;
const std::array<PixelRGBAf, 4> samples{{
- Sample(src, src_shape, x, y), Sample(src, src_shape, x + 1, y),
- Sample(src, src_shape, x, y + 1), Sample(src, src_shape, x + 1, y + 1),
+ Sample(src, src_shape, x, y),
+ Sample(src, src_shape, x + 1, y),
+ Sample(src, src_shape, x, y + 1),
+ Sample(src, src_shape, x + 1, y + 1),
}};
auto* dst_pixel = dst + (j + i * dst_shape.row_length) * 4;