diff options
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 { | |||
| 41 | IsRescalable = 1 << 15, | 41 | IsRescalable = 1 << 15, |
| 42 | 42 | ||
| 43 | AsynchronousDecode = 1 << 16, | 43 | AsynchronousDecode = 1 << 16, |
| 44 | IsDecoding = 1 << 17, ///< Is currently being decoded asynchornously. | 44 | IsDecoding = 1 << 17, ///< Is currently being decoded asynchronously. |
| 45 | }; | 45 | }; |
| 46 | DECLARE_ENUM_FLAG_OPERATORS(ImageFlagBits) | 46 | DECLARE_ENUM_FLAG_OPERATORS(ImageFlagBits) |
| 47 | 47 | ||
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 | |||
| 1195 | return std::nullopt; | 1195 | return std::nullopt; |
| 1196 | } | 1196 | } |
| 1197 | } else { | 1197 | } else { |
| 1198 | // Format comaptibility is not relaxed, ensure we are creating a view on a compatible format | 1198 | // Format compatibility is not relaxed, ensure we are creating a view on a compatible format |
| 1199 | if (!IsViewCompatible(existing.format, candidate.format, broken_views, native_bgr)) { | 1199 | if (!IsViewCompatible(existing.format, candidate.format, broken_views, native_bgr)) { |
| 1200 | return std::nullopt; | 1200 | return std::nullopt; |
| 1201 | } | 1201 | } |