mirror of https://github.com/bjornbytes/lovr.git
Improve KTX1 error messages;
This commit is contained in:
parent
b8df6f9651
commit
0496b81f23
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue