Improve KTX1 error messages;

This commit is contained in:
bjorn 2022-08-23 20:16:58 -07:00
parent b8df6f9651
commit 0496b81f23
1 changed files with 1 additions and 1 deletions

View File

@ -1021,7 +1021,7 @@ static Image* loadKTX1(Blob* blob) {
}
}
}
lovrAssert(image->format != ~0u, "KTX file uses an unsupported image format");
lovrAssert(image->format != ~0u, "KTX1 file uses an unsupported image format (glType = %d, glFormat = %d, glInternalFormat = %d)", header.glType, header.glFormat, header.glInternalFormat);
// Mipmaps
uint32_t width = image->width;