early-access version 1339

This commit is contained in:
pineappleEA 2021-01-18 08:35:01 +01:00
parent b40b15c4dc
commit cd088d656c
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
yuzu emulator early access yuzu emulator early access
============= =============
This is the source code for early-access 1338. This is the source code for early-access 1339.
## Legal Notice ## Legal Notice

View file

@ -679,7 +679,7 @@ u32 CalculateLayerSize(const ImageInfo& info) noexcept {
} }
std::array<u32, MAX_MIP_LEVELS> CalculateMipLevelOffsets(const ImageInfo& info) noexcept { std::array<u32, MAX_MIP_LEVELS> CalculateMipLevelOffsets(const ImageInfo& info) noexcept {
ASSERT(info.resources.levels <= MAX_MIP_LEVELS); ASSERT(info.resources.levels <= static_cast<s32>(MAX_MIP_LEVELS));
const LevelInfo level_info = MakeLevelInfo(info); const LevelInfo level_info = MakeLevelInfo(info);
std::array<u32, MAX_MIP_LEVELS> offsets{}; std::array<u32, MAX_MIP_LEVELS> offsets{};
u32 offset = 0; u32 offset = 0;