Fix DDS reading code.
This commit is contained in:
parent
90eae7a480
commit
a9bd20270b
@ -324,7 +324,7 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
for (uint f = 0; f < faceCount; f++)
|
for (uint f = 0; f < faceCount; f++)
|
||||||
{
|
{
|
||||||
for (uint m = 0; m <= mipmapCount; m++)
|
for (uint m = 0; m < mipmapCount; m++)
|
||||||
{
|
{
|
||||||
dds.mipmap(&mipmap, f, m);
|
dds.mipmap(&mipmap, f, m);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user