Metal: Fixed texture creation.
This commit is contained in:
parent
4a922e34da
commit
9f04292f40
@ -2916,7 +2916,7 @@ namespace bgfx { namespace mtl
|
||||
temp = (uint8_t*)BX_ALLOC(g_allocator, ti.width*ti.height*4);
|
||||
}
|
||||
|
||||
for (uint8_t side = 0; side < numSides; ++side)
|
||||
for (uint16_t side = 0; side < numSides; ++side)
|
||||
{
|
||||
uint32_t width = ti.width;
|
||||
uint32_t height = ti.height;
|
||||
|
Loading…
Reference in New Issue
Block a user