diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-10-03 00:05:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-03 00:05:55 +0200 |
commit | 7a0da729b45ae2794e84af6808c50cb714d17fc5 (patch) | |
tree | 3c0a84a306b6b85f9bcd22a6b8b29cb306b9a852 /src/video_core/texture_cache | |
parent | Merge pull request #11652 from liamwhite/shutdown-goes-brrr (diff) | |
parent | ci: fix new codespell errors (diff) | |
download | yuzu-7a0da729b45ae2794e84af6808c50cb714d17fc5.tar yuzu-7a0da729b45ae2794e84af6808c50cb714d17fc5.tar.gz yuzu-7a0da729b45ae2794e84af6808c50cb714d17fc5.tar.bz2 yuzu-7a0da729b45ae2794e84af6808c50cb714d17fc5.tar.lz yuzu-7a0da729b45ae2794e84af6808c50cb714d17fc5.tar.xz yuzu-7a0da729b45ae2794e84af6808c50cb714d17fc5.tar.zst yuzu-7a0da729b45ae2794e84af6808c50cb714d17fc5.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/texture_cache/image_base.h | 2 | ||||
-rw-r--r-- | src/video_core/texture_cache/util.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/texture_cache/image_base.h b/src/video_core/texture_cache/image_base.h index 55d49d017..0587d7b72 100644 --- a/src/video_core/texture_cache/image_base.h +++ b/src/video_core/texture_cache/image_base.h @@ -41,7 +41,7 @@ enum class ImageFlagBits : u32 { IsRescalable = 1 << 15, AsynchronousDecode = 1 << 16, - IsDecoding = 1 << 17, ///< Is currently being decoded asynchornously. + IsDecoding = 1 << 17, ///< Is currently being decoded asynchronously. }; DECLARE_ENUM_FLAG_OPERATORS(ImageFlagBits) diff --git a/src/video_core/texture_cache/util.cpp b/src/video_core/texture_cache/util.cpp index a83f5d41c..0a86ce139 100644 --- a/src/video_core/texture_cache/util.cpp +++ b/src/video_core/texture_cache/util.cpp @@ -1195,7 +1195,7 @@ std::optional<SubresourceBase> FindSubresource(const ImageInfo& candidate, const return std::nullopt; } } else { - // Format comaptibility is not relaxed, ensure we are creating a view on a compatible format + // Format compatibility is not relaxed, ensure we are creating a view on a compatible format if (!IsViewCompatible(existing.format, candidate.format, broken_views, native_bgr)) { return std::nullopt; } |