mirror of
https://github.com/overte-org/overte.git
synced 2025-04-11 13:42:38 +02:00
warning -1
This commit is contained in:
parent
c4e8885842
commit
b38be7e561
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ namespace ktx {
|
|||
size_t imageSize = *reinterpret_cast<const uint32_t*>(currentPtr);
|
||||
currentPtr += sizeof(uint32_t);
|
||||
|
||||
auto expectedImageSize = header.evalImageSize(images.size());
|
||||
auto expectedImageSize = header.evalImageSize((uint32_t) images.size());
|
||||
if (imageSize != expectedImageSize) {
|
||||
break;
|
||||
} else if (!Header::checkAlignment(imageSize)) {
|
||||
|
|
Loading…
Reference in a new issue