diff options
author | Liam <byteslice@airmail.cc> | 2023-10-03 00:03:05 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-10-03 00:03:05 +0200 |
commit | 0448eb6f0f60a1ac66565aacd378cf61f820487a (patch) | |
tree | 3c0a84a306b6b85f9bcd22a6b8b29cb306b9a852 /src/video_core/texture_cache | |
parent | Merge pull request #11652 from liamwhite/shutdown-goes-brrr (diff) | |
download | yuzu-0448eb6f0f60a1ac66565aacd378cf61f820487a.tar yuzu-0448eb6f0f60a1ac66565aacd378cf61f820487a.tar.gz yuzu-0448eb6f0f60a1ac66565aacd378cf61f820487a.tar.bz2 yuzu-0448eb6f0f60a1ac66565aacd378cf61f820487a.tar.lz yuzu-0448eb6f0f60a1ac66565aacd378cf61f820487a.tar.xz yuzu-0448eb6f0f60a1ac66565aacd378cf61f820487a.tar.zst yuzu-0448eb6f0f60a1ac66565aacd378cf61f820487a.zip |
Diffstat (limited to 'src/video_core/texture_cache')
-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; } |