diff options
| author | 2023-06-12 15:59:44 +0200 | |
|---|---|---|
| committer | 2023-06-13 03:21:01 +0200 | |
| commit | 0eacf547c0733f39e11515e7aedf300d0cd06e99 (patch) | |
| tree | ccf36bffb6da566eb6c9faae067ea5c694da655d /src/video_core/textures | |
| parent | Merge pull request #10718 from liamwhite/buffered-io (diff) | |
| download | yuzu-0eacf547c0733f39e11515e7aedf300d0cd06e99.tar.gz yuzu-0eacf547c0733f39e11515e7aedf300d0cd06e99.tar.xz yuzu-0eacf547c0733f39e11515e7aedf300d0cd06e99.zip | |
video_core: Option to apply anisotropic filtering for all mipmap modes
Diffstat (limited to 'src/video_core/textures')
| -rw-r--r-- | src/video_core/textures/texture.cpp | 3 |
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 { | |||
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | float TSCEntry::MaxAnisotropy() const noexcept { | 64 | float TSCEntry::MaxAnisotropy() const noexcept { |
| 65 | if (max_anisotropy == 0 && mipmap_filter != TextureMipmapFilter::Linear) { | 65 | if (max_anisotropy == 0 && (mipmap_filter != TextureMipmapFilter::Linear && |
| 66 | !Settings::values.use_aggressive_anisotropic_filtering)) { | ||
| 66 | return 1.0f; | 67 | return 1.0f; |
| 67 | } | 68 | } |
| 68 | const auto anisotropic_settings = Settings::values.max_anisotropy.GetValue(); | 69 | const auto anisotropic_settings = Settings::values.max_anisotropy.GetValue(); |