mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-05 06:22:45 +01:00
Merge pull request #5746 from lioncash/sign-compare
texture_cache/util: Resolve -Wsign-compare warning
This commit is contained in:
commit
2ef4591e58
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue