This commit is contained in:
Branimir Karadžić 2015-11-20 20:49:34 -08:00
parent 347a86cbc0
commit 888343aea3

View File

@ -2524,7 +2524,7 @@ namespace bgfx
, _imageContainer.m_numMips
);
for (uint32_t lod = 0, num = _imageContainer.m_numMips; lod < num; ++lod)
for (uint8_t lod = 0, num = _imageContainer.m_numMips; lod < num; ++lod)
{
ImageMip mip;
imageGetRawData(_imageContainer, 0, lod, _data, _size, mip);