From 0eacf547c0733f39e11515e7aedf300d0cd06e99 Mon Sep 17 00:00:00 2001 From: Wollnashorn Date: Mon, 12 Jun 2023 15:59:44 +0200 Subject: video_core: Option to apply anisotropic filtering for all mipmap modes --- src/video_core/textures/texture.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/video_core') 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 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(); -- cgit v1.2.3