Fixed texture side iterator being too small (#3025)

This commit is contained in:
HumanBean4 2023-01-19 10:16:04 -05:00 committed by GitHub
parent b1f9fdf449
commit f449f139f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5968,7 +5968,7 @@ VK_DESTROY
bx::memSet(imageInfos, 0, sizeof(ImageInfo) * numSrd);
uint32_t alignment = 1; // tightly aligned buffer
for (uint8_t side = 0; side < numSides; ++side)
for (uint16_t side = 0; side < numSides; ++side)
{
for (uint8_t lod = 0; lod < ti.numMips; ++lod)
{