summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/TextureCache.h
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2022-07-17 00:07:50 -0400
committerGitHub <noreply@github.com>2022-07-17 00:07:50 -0400
commitf1d23ff9a48ce866f9cd391d32eacb4bfb1c244e (patch)
tree1dcb1a30c58a973c881092525eb797c6b1e635f5 /Source/Core/VideoBackends/Software/TextureCache.h
parent2ef069e0e861e275497854e0fe2d19f0c333850a (diff)
parenta6e06f38adb933187605ac07ef7a0cb1940afa80 (diff)
Merge pull request #10466 from Pokechu22/efb-copy-gamma
Accurately handle the copy filter and gamma for EFB and XFB copies
Diffstat (limited to 'Source/Core/VideoBackends/Software/TextureCache.h')
-rw-r--r--Source/Core/VideoBackends/Software/TextureCache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/Software/TextureCache.h b/Source/Core/VideoBackends/Software/TextureCache.h
index 9ffa8fa4f4..a7d241197f 100644
--- a/Source/Core/VideoBackends/Software/TextureCache.h
+++ b/Source/Core/VideoBackends/Software/TextureCache.h
@@ -14,7 +14,7 @@ protected:
u32 bytes_per_row, u32 num_blocks_y, u32 memory_stride,
const MathUtil::Rectangle<int>& src_rect, bool scale_by_half, bool linear_filter,
float y_scale, float gamma, bool clamp_top, bool clamp_bottom,
- const EFBCopyFilterCoefficients& filter_coefficients) override
+ const std::array<u32, 3>& filter_coefficients) override
{
TextureEncoder::Encode(dst, params, native_width, bytes_per_row, num_blocks_y, memory_stride,
src_rect, scale_by_half, y_scale, gamma);
@@ -23,7 +23,7 @@ protected:
const MathUtil::Rectangle<int>& src_rect, bool scale_by_half,
bool linear_filter, EFBCopyFormat dst_format, bool is_intensity,
float gamma, bool clamp_top, bool clamp_bottom,
- const EFBCopyFilterCoefficients& filter_coefficients) override
+ const std::array<u32, 3>& filter_coefficients) override
{
// TODO: If we ever want to "fake" vram textures, we would need to implement this
}