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