Fixed texture side iterator being too small (#3025)
This commit is contained in:
parent
b1f9fdf449
commit
f449f139f1
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user