Fixed texture side iterator being too small (#3026)

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

View File

@ -5099,7 +5099,7 @@ namespace bgfx { namespace d3d12
, swizzle ? " (swizzle BGRA8 -> RGBA8)" : ""
);
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)
{