summaryrefslogtreecommitdiffstats
path: root/src/video_core/textures/texture.cpp
diff options
context:
space:
mode:
authorWollnashorn <Wollnashorn@users.noreply.github.com>2023-06-12 15:59:44 +0200
committerWollnashorn <Wollnashorn@users.noreply.github.com>2023-06-13 03:21:01 +0200
commit0eacf547c0733f39e11515e7aedf300d0cd06e99 (patch)
treeccf36bffb6da566eb6c9faae067ea5c694da655d /src/video_core/textures/texture.cpp
parentMerge pull request #10718 from liamwhite/buffered-io (diff)
downloadyuzu-0eacf547c0733f39e11515e7aedf300d0cd06e99.tar
yuzu-0eacf547c0733f39e11515e7aedf300d0cd06e99.tar.gz
yuzu-0eacf547c0733f39e11515e7aedf300d0cd06e99.tar.bz2
yuzu-0eacf547c0733f39e11515e7aedf300d0cd06e99.tar.lz
yuzu-0eacf547c0733f39e11515e7aedf300d0cd06e99.tar.xz
yuzu-0eacf547c0733f39e11515e7aedf300d0cd06e99.tar.zst
yuzu-0eacf547c0733f39e11515e7aedf300d0cd06e99.zip
Diffstat (limited to 'src/video_core/textures/texture.cpp')
-rw-r--r--src/video_core/textures/texture.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/textures/texture.cpp b/src/video_core/textures/texture.cpp
index 4a80a59f9..12372a004 100644
--- a/src/video_core/textures/texture.cpp
+++ b/src/video_core/textures/texture.cpp
@@ -62,7 +62,8 @@ std::array<float, 4> TSCEntry::BorderColor() const noexcept {
}
float TSCEntry::MaxAnisotropy() const noexcept {
- if (max_anisotropy == 0 && mipmap_filter != TextureMipmapFilter::Linear) {
+ if (max_anisotropy == 0 && (mipmap_filter != TextureMipmapFilter::Linear &&
+ !Settings::values.use_aggressive_anisotropic_filtering)) {
return 1.0f;
}
const auto anisotropic_settings = Settings::values.max_anisotropy.GetValue();