early-access version 1339

main
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;